Exercises-JavaScript Introduction to javascript 1 Variabler - var x Nummer - 1, 5, 100, -10, 0.5 Booleans - true, false Strings - “Hello world” Arrays - [1, 2, false, “test”] Conditionals - if (condition) { … } Loops for ( initialization; condition; increment) { … } while (condition) { … } Funktioner - function myFunction(a, b) { … } Introduction to javascript 2 Objects DOM QuerySelector Events