Skip to main content

Timeline for answer to Island Golf #1: Circumnavigation by Neil

Current License: CC BY-SA 3.0

Post Revisions

6 events
when toggle format what by license comment
Mar 23, 2017 at 20:51 history edited Neil CC BY-SA 3.0
added explanation
Mar 23, 2017 at 15:30 comment added Neil @BrianMcCutchon You're right, I meant spread operator, but destructuring works in argument lists anyway.
Mar 23, 2017 at 15:25 comment added Brian McCutchon @Neil Actually, the technical name is rest parameter. The same syntax is used for the spread operator. (You use both as ...p in different places.) Destructuring is something else (though the spread operator can be used in destructuring).
Mar 23, 2017 at 14:58 comment added Neil @RobertFraser The technical name is array destructuring. In this case however, it just acts as a rest of arguments parameter.
Mar 23, 2017 at 14:54 comment added Robert Fraser What does ´...p´ do?
Mar 23, 2017 at 14:40 history answered Neil CC BY-SA 3.0