Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Great talk, straight to all the import point of ES6
What is the bug in es5 given at 3: 12?. Couldn't figure out any help?.
`console.log(es5({bar: 0}));` outputs 42. To fix it, the line `var bar = param.bar || 42;` should be `var bar = param.bar !== undefined ? param.bar : 42;`.
Great talk, straight to all the import point of ES6
What is the bug in es5 given at 3: 12?. Couldn't figure out any help?.
`console.log(es5({bar: 0}));` outputs 42. To fix it, the line `var bar = param.bar || 42;` should be `var bar = param.bar !== undefined ? param.bar : 42;`.