摘要:
function User( properties ) {// Iterate through the properties of the object, and make sure// that it's properly scoped (as discussed previously)for ( var i in properties ) { (function(thiz){// Create a new getter for the propertythiz[ "get" + i ] = function() {return properties[i];};/ 阅读全文
posted @ 2012-09-18 14:38
坏小仔
阅读(124)
评论(0)
推荐(0)
浙公网安备 33010602011771号