Re:JavaScript Code Plays Google Dinosaur/T-Rex Game Automati...
by superjan on Friday August 14, 2020 @02:53PM
(#24161794)
Copy-pasting random javascript from the internet is not good security hygene.
[ Parent
| on HN ]
Re:JavaScript Code Plays Google Dinosaur/T-Rex Game Automati...
by thdc on Friday August 14, 2020 @03:19PM
(#24162112)
Especially when it's minimized like this. Are they trying to hide something? Why couldn't it be formatted in a more readable manner?
(it does look safe though)
Re:JavaScript Code Plays Google Dinosaur/T-Rex Game Automati...
by truly_furqan on Sunday August 16, 2020 @06:11AM
(#24176613)
Great point!
But actually, I minified this code so that people can quickly try it out. I'll try to explain it in some other article.
Re:JavaScript Code Plays Google Dinosaur/T-Rex Game Automati...
by truly_furqan on Sunday August 16, 2020 @06:18AM
(#24176641)
I completely agree with your concern.
But, I had to make it as simple as possible for non-programmers.