Take the MDN Survey and help us understand what browser vendors can do to make your life better: https://qsurvey.mozilla.com/s3/MDN-browser-compat-survey


Lid sinds

Recente documentactiviteit

Alle activiteit weergeven
Pagina Datum Opmerking



Example Edit Using super in classes the fragment of the code: set area(value) { this.area = value; } I think, that it's more reasonable to set this.width and this.height because I see no way to split the.area between required this.width and this.height.


Example Using super in classes. The fragment of the code: class Square extends Polygon { constructor(length) { this.height; // ReferenceError, super needs to be called first! I see no reason to use this.height; here. It just shows us that super is needed.

Strict mode

Используемое ранее "упреждающие" было семантически неверно, и я исправила его на "предвосхищающие", т.к. "упреждать" в русском чаще всего ассоциируется с ПРОТИВОДЕЙСТВИЕМ.