
Data Structures – Primitives
Coding Blocks
00:00
Undefined Is a Type and Null Is a Value
Mozilla's website has no Listed as a data type. The null type has exactly one value No, so it's not that it's literally the value. An undefined is the absence of the type Correct if you do type of no you get object if you dotype of undefined you get undefined No is actually a value. Oh Yeah, I do So yeah, maybe I did something that already had a value and I kind of did the whole prototype thing back to thereI think that these debuggers already have some variables that have values in them And so if you're just doing a generic variable because I try to X and it was coming back with something I was like wait a second
Transcript
Play full episode