The specific story/code snippet often shared by her students goes like this:

// But then she shows the weird part: let weird = "Angela" - "Yu"; // NaN (Not a Number) let weird2 = "Angela" * 1; // NaN let weird3 = [] + []; // "" (empty string) let weird4 = [] + {}; // "[object Object]" let weird5 = {} + []; // 0 (in some consoles, due to {} being interpreted as a block)

// The "Angela Yu" classic example: let result = "Angela" + " " + "Yu"; // "Angela Yu" - normal

Angela Yu Javascript Extra Quality -

The specific story/code snippet often shared by her students goes like this:

// But then she shows the weird part: let weird = "Angela" - "Yu"; // NaN (Not a Number) let weird2 = "Angela" * 1; // NaN let weird3 = [] + []; // "" (empty string) let weird4 = [] + {}; // "[object Object]" let weird5 = {} + []; // 0 (in some consoles, due to {} being interpreted as a block) angela yu javascript

// The "Angela Yu" classic example: let result = "Angela" + " " + "Yu"; // "Angela Yu" - normal The specific story/code snippet often shared by her

Додај ме на листу чекања Обавестићемо вас када артикал буде на стању.