Преглед на файлове

Update object spread operator stage (#1191)

Ref: https://github.com/tc39/proposal-object-rest-spread#status-of-this-proposal
Danny Feliz преди 7 години
родител
ревизия
a04f12aabf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/en/state.md

+ 1 - 1
docs/en/state.md

@@ -92,7 +92,7 @@ computed: mapState([
 
 ### Object Spread Operator
 
-Note that `mapState` returns an object. How do we use it in combination with other local computed properties? Normally, we'd have to use a utility to merge multiple objects into one so that we can pass the final object to `computed`. However with the [object spread operator](https://github.com/sebmarkbage/ecmascript-rest-spread) (which is a stage-3 ECMAScript proposal), we can greatly simplify the syntax:
+Note that `mapState` returns an object. How do we use it in combination with other local computed properties? Normally, we'd have to use a utility to merge multiple objects into one so that we can pass the final object to `computed`. However with the [object spread operator](https://github.com/sebmarkbage/ecmascript-rest-spread) (which is a stage-4 ECMAScript proposal), we can greatly simplify the syntax:
 
 ``` js
 computed: {