// Variables
var myVar = 'I am a variable';
// Arrays
var myArray = [1, 2, 3, 4, 5];
// Objects
myObj = {
greeting: 'Hi',
age: 20
}
// Functions
function myFunction () {
console.log('Hello World!');
}
// Classes
function MyClass (x, y) {
this.x = x;
this.y = y;
this.doSomething = function () {
console.log('Do something');
}
}