var x = 5; var y = 6; var z = x + y;
x = x + 5;
var length = 16; // Number var lastName = "Johnson"; // String var cars = ["Saab", "Volvo", "BMW"]; // Array var x = {firstName:"John", lastName:"Doe"}; // Object
var x = 16 + "Volvo";
var x = "16" + "Volvo";
var x = 16 + 4 + "Volvo";
var x = "Volvo" + 16 + 4;
* Examples and content from W3Schools.com.