📜  空对象 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:38.252000             🧑  作者: Mango

代码示例1
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.