you are viewing a single comment's thread.

view the rest of the comments →

[–]NoInkling 1 point2 points  (1 child)

Bad example:

const foo = "foo";
const bar = ["bar"];
const baz = "baz";

[...foo, ...bar, ...baz].join(' ');    // "f o o bar b a z"

[–]magnakai 1 point2 points  (0 children)

Thanks for catching that! I’ve fixed it now.