[Solved] Which keywords are reserved in JavaScript but not in Java?


This is what I’ve found out so far.

There were seems to be no new keywords in Java since 5.0 (which added enum).

Java vs. ECMAScript 5.1:

  • debugger
  • delete
  • function
  • in
  • typeof
  • var
  • with
  • export
  • let
  • yield

Java vs. ECMAScript 6 Rev 36 Release Candidate 3:

  • all of above
  • await

9

solved Which keywords are reserved in JavaScript but not in Java?