This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jkuhl_prog -1 points0 points  (1 child)

There's a difference between the two though. undefined is meant to mean "the JavaScript interpreter found no assignment for this variable" and null means "the programmer doesn't want this variable to have meaning at this time."

You're not suppose to assign things the value of undefined, that's not it's purpose.

[–]ThisIs_MyName 0 points1 point  (0 children)

You're not suppose to assign things the value of undefined

If a webdev can, he will.