JavaScript vs Java


- Info:

- This tutorial explains differences between JavaScript and Java.


- Differences:

- In JavaScript properties can be dynamicly added which is not the case in Java.

- By default any object property in JavaScript is an instance property.

- In Java functions and methods are not data as they are in JavaScript.

- In JavaScript to access object properties from object methods you have to use this keyword while in Java you don't.