Symbol.split - A function that accepts a string argument and returns an array containing pieces of the string split on the match.
To this:
Symbol.split - A function that accepts a string argument and an optional limit argument, and returns an array containing pieces of the string split on the match.
Ah thanks. Because this book is so old, I wasn't planning on updating it again unless the publisher does another printing. I'll leave this open to remind myself if that happens.
The example for Symbol.split here manuscript/06-Symbols.md does not mention the optional
limit
argument:The current example could perhaps change to
Or perhaps change this text:
To this: