console log javascript typing code example
Example 1: check data type in js
var x = "Hello World";
typeof x; // "string"
Example 2: console.log
console.log("");
var x = "Hello World";
typeof x; // "string"
console.log("");