Here's an interesting tip for JavaScript:
Consider using the spread syntax (...) in combination with array literals ([]) to manipulate arrays in a...
For further actions, you may consider blocking this person and/or reporting abuse
Nice post! :)
I've been told before that using
concatto concatenate arrays is a bit slower than spreading and dumping. It's a good example as to the use of the spread operator though.I noticed that your code blocks weren't displaying correctly - to format correctly, just use three backticks at the beginning and end of the code block.