javascript icon indicating copy to clipboard operation
javascript copied to clipboard

Line breaks for multi-entry array

Open jfdnc opened this issue 7 years ago • 0 comments

Description states, "Use line breaks after open and before close array brackets if an array has multiple lines," which would imply the form reflected in the edit. If the intention was actually to list the array as 'const arr = [[0, 1], [2, 3], [4, 5]];' a caveat should be added to 4.7 description, since it doesn't involve a line break after the opening or before the closing brackets.

jfdnc avatar Feb 18 '18 02:02 jfdnc