Natalya_Surikova

Member since
Natalya_Surikova

Recent Docs Activity

View all activity
Page Date Comment

Array.of()


super


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.

super


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


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

Node.textContent