Run ยป
<!DOCTYPE html> <html> <body> <script> var age = 18; // dataType = number, value = 18 var myAge = "18"; // dataType = string, value = 18 alert(age == myAge); // True alert(age === myAge); // False </script> </body> </html