慕课网为用户提供JavaScript 入门教程相关知识,getter & setter. ... 利用getter/setter 可以拦截操作对象的属性,在设置属性前或获取属性前做一些事情。
確定! 回上一頁