javascript basic syntax code example
Example 1: JavaScript Syntax
var x, y, z; // Declare Variables
x = 5; y = 6; // Assign Values
z = x + y; // Compute Values
var x;
x = 6;
Example 2: basic javascript
>'hello'.toUpperCase()
'HELLO'