Skip to content

Commit 7ad40e3

Browse files
authored
Update content/ember/v5/deprecate-array-prototype-extensions.md
1 parent e397e94 commit 7ad40e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

content/ember/v5/deprecate-array-prototype-extensions.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ Ember historically extended the prototypes of native Javascript arrays to implem
88

99
To disable the extention of array prototypes, in `config/environment.js`, ensure that `EXTEND_PROTOYPES` is set to false on EmberENV:
1010

11-
```
11+
```js
1212
EmberENV: {
1313
EXTEND_PROTOTYPES: false,
14-
....
15-
```
14+
// ...
15+
},
16+
// ...
1617

1718
Once it is set to false, audit your project for any breakage from the following methods no longer being available on native arrays. Exceptions will be thrown where they are in use:
1819

0 commit comments

Comments
 (0)