HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <p>Check your Console (Press F12).</p> <script> var str = "Hello"; var num = 1; var married = false; var arr = ["apple", "mangle"]; var obj = { company:"Honda", model:"CBR 1000RR", color:"Red" } console.log("str = " +typeof str); console.log("num = " +typeof num); console.log("married = " +typeof married); console.log("arr = " +typeof arr); console.log("obj = " +typeof obj); </script> </body> </html>
OUTPUT
×

Save as Private