Undefined / Null

Defining the Meaning of Nothing

Undefined values #

When you declare a variable, its value is initialized to whatever value you assign by using the = sign.

The following code snippet will initialize the variable as pi a number.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy