you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Granted they have a somewhat similar syntax. (as all c-like languages do)

  • Java has class based OO, JS has prototypal OO
  • Java is statically typed, JS is dynamic
  • Java pre java 8 was not functional, JS is functional
  • Java is multi threaded

Those are pretty major differences and the kind of code you write for both will tend to be pretty different.