JavaScript 对象定义方式 1. var obj = new Object() 代码如下: <!–Add by oscar999–> <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME=”Author” CONTENT=”oscar999′′> [removed] var obj = new Object(); obj.key = “