Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

null objects

ob={}; ob.pn=ocn; ob.po=oco; // create same compound object again, but create same properties in different order

> ShowProperties( ob ) // display top-level properties
- Error: Cannot convert object to primitive value

Note that neither property gets shown.
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #null #objects
ADD COMMENT
Topic
Name
3+1 =