addyosmani / es6-equivalents-in-es5

WIP - ES6 Equivalents In ES5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Numeric literals example

tamzinblake opened this issue · comments

console.assert(binary === [0, 1, 3]);

This will always be false, as [0,1,3] is a new array literal and so won't equal anything preexisting.