“ and ” need to be converted to regular double quotes (") or single quotes so your code can be copy/pasted into the console without having to convert them all.
the character you used for the spread operator (…) needs to be converted to three periods (.) for copy/paste purposes. I think it's also important to note in the article that the spread operator is ES6.
grammar/word errors:
"Get random value form the array" title > needs to be "from array"
yes, I totally agree that if you are going to have code in your article make sure that it's valid!!! that's more important than it being pretty. you could use codepen or similar to ensure it actually runs.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
“
and”
need to be converted to regular double quotes (") or single quotes so your code can be copy/pasted into the console without having to convert them all.the character you used for the spread operator (…) needs to be converted to three periods (.) for copy/paste purposes. I think it's also important to note in the article that the spread operator is ES6.
grammar/word errors:
"Get random value form the array" title > needs to be "from array"
Great article, thanks for posting! :)
yes, I totally agree that if you are going to have code in your article make sure that it's valid!!! that's more important than it being pretty. you could use codepen or similar to ensure it actually runs.