Please tell me the three points in vue. What kind of grammar is it?

clipboard.png
as shown in the figure, thank you

Aug.27,2021

deconstruct assignment


Lou Zhu, hello, this is the extension operator . I hope it will be helpful to you ~


extended syntax. For arrays and objects, it is to remove everything from the variables after the operator.
can be used where the function is defined, such as using func (.args) to put all the parameters passed in by the function into the args array.


this is assigned in es6. You can take a look at the es6 syntax

.
Menu