Skip to content

Commit

Permalink
Update content/ember/v5/deprecate-array-prototype-extensions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnaceMaes authored Aug 22, 2024
1 parent e397e94 commit 7ad40e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions content/ember/v5/deprecate-array-prototype-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ Ember historically extended the prototypes of native Javascript arrays to implem

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

```
```js
EmberENV: {
EXTEND_PROTOTYPES: false,
....
```
// ...
},
// ...

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:

Expand Down

0 comments on commit 7ad40e3

Please sign in to comment.