3 ms·
For Java I used https://www.thoughtco.com/reserved-words-in-java-2034200 https://www.thoughtco.com/reserved-words-in-java-2034200 but Wikipedia lists 51. I'm to
by shaftway 6y ago
For Java I used https://www.thoughtco.com/reserved-words-in-java-2034200 https://www.thoughtco.com/reserved-words-in-java-2034200 but Wikipedia lists 51. I'm too lazy to actually diff it.
For Javascript I used https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... and fudged the numbers a bit. There are future reserved words, but I didn't iinclude them because there's no point in memorizing them. Now that I look in detail that list also doesn't include "true", "false", and "null".