what are javascript types code example
Example 1: type javascirpt
console.log(typeof 42);
Example 2: type js
var typed = new Typed('.element', {
strings: ["First sentence.", "Second sentence."],
typeSpeed: 30
});
Example 3: js data types
//There are 7 data types in JS
//They're split in two categories - (Primitives and Complex Types)
//Primives
string, number, boolean, null, undefined
//Complex types
Object, Function