Tony Fu
Tony Fu
在[Class 字段](https://zh.javascript.info/class#class-zi-duan)一小节中,描述了一个特性: > ”类字段重要的不同之处在于,它们会在每个独立对象中被设好,而不是设在 User.prototype“。 无论使用类字段、在 `constructor` 中使用 `this` 赋值、还是直接使用构造函数 +`new`,属性设置都是在对象中的,而非在构造函数的prototype(或对象的__proto__)。该句话存在误导性。
**[Here](https://lesscss.org/features/#scope-feature-tips-tricks)** In this code: ```less .some-module { @height: 200px; @width: 200px; text-align: left; line-height: @height; // 200px & { // Override original values @height: 100px; @width: auto; .some-module__element { height:...