JavaScript中的Object是一組數據的key
var book = new Object();
book
book
book
上面例子中的name和page就是名為book的對象中的property
function Book (name
this
this
this
}
var abook = new Book(
From:http://tw.wingwit.com/Article/program/Web/201405/30791.html
JavaScript中的Object是一組數據的key
var book = new Object();
book
book
book
上面例子中的name和page就是名為book的對象中的property
function Book (name
this
this
this
}
var abook = new Book(