Core Code
Modern Dev Handbook
☰
JAVASCRIPT Contents
✕
Basic JavaScript
JS Tutorial
JS Syntax
JS Variables
JS Operators
JS If Conditions
JS Loops
JS Strings
JS Numbers
JS Functions
JS Objects
JS Scope
JS Dates
JS Temporal Dates
JS Arrays
JS Sets
JS Maps
JS Iterations
JS Math
JS RegExp
JS Data Types
JS Errors
JS Debugging
JS Conventions
JS References
JS ECMAScript 2026
JS Versions
JS HTML
JS HTML DOM
JS Events
JS Projects
JS Advanced
JS Functions
JS Objects
JS Classes
JS Asynchronous
JS Modules
JS Meta & Proxy
JS Typed Arrays
JS DOM Navigation
JS Windows
JS Web APIs
JS AJAX
JS JSON
JS jQuery
JS Graphics
Why JavaScript Needs Type Safety
JavaScript
→
JS Data Types
Undefined Data Type
A variable without a value is undefined.
Preview
Code
<script> let value; console.log(value); console.log(typeof value); </script>
More JS Data Types Examples (7)
String Data Type
Number Data Type
Boolean Data Type
Null Value Example
Object Data Type
Array Data Type
Symbol Data Type
← Boolean Data Type
Null Value Example →