main.js
1
2
3
4
5
6
let number;
console.log(number);     // => undefined
let movie = { name: 'Interstellar' };
console.log(movie.year); // => undefined
let movies = ['Interstellar', 'Alexander'];
console.log(movies[3]);  // => undefined
Native Browser JavaScript