const a = [1, 2, 3];
const [b] = a;
b
// 1
[] is the decomposing operator.
Also:
const [c, ...rest] = a;
c
// 1
rest
// [2, 3]
... is the rest operator.
const a = [1, 2, 3];
const [b] = a;
b
// 1
[] is the decomposing operator.
Also:
const [c, ...rest] = a;
c
// 1
rest
// [2, 3]
... is the rest operator.
For further actions, you may consider blocking this person and/or reporting abuse
sysmaya -
Anubhav -
Pratik Singh -
Will -
Once suspended, mxl will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, mxl will be able to comment and publish posts again.
Once unpublished, all posts by mxl will become hidden and only accessible to themselves.
If mxl is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Maria Boldyreva.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag mxl:
Unflagging mxl will restore default visibility to their posts.
Top comments (2)
Short and sweet, I like it.
I like it. This is exactly what I was looking for.