Null values

  • Updated

Null is a special value that indicates ‘no value’. Null can be used as a value anywhere another

value is expected.

var x = null; 
var y = 98;
y = null;
var z = { MyMethod : function ( arg ) { /* do something */ } }; 
z.MyMethod( null );

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.