docs: class properties and object spread are no longer experimental (#4754)

Co-authored-by: Romain Bohdanowicz <romain.bohdanowicz@formation.tech>
This commit is contained in:
Romain Bohdanowicz
2022-06-20 20:38:39 +02:00
committed by GitHub
parent c3e09c52c9
commit fb65da64ac
6 changed files with 11 additions and 15 deletions

View File

@@ -542,7 +542,7 @@ var player = {score: 1, name: 'Jeff'};
var newPlayer = Object.assign({}, player, {score: 2});
// Now player is unchanged, but newPlayer is {score: 2, name: 'Jeff'}
// Or if you are using object spread syntax proposal, you can write:
// Or if you are using object spread syntax, you can write:
// var newPlayer = {...player, score: 2};
```