var options = {
properties: 'someValue'
};
var moved = {
init:function() {
console.log(properties) // get propeties from options object
}
};
如何在移动对象中使用选项对象属性?
var options = {
properties: 'someValue'
};
var moved = {
init:function() {
console.log(properties) // get propeties from options object
}
};
如何在移动对象中使用选项对象属性?