rust-js / rjs

Rust JavaScript interpreter
98 stars 6 forks source link

Array.isArray is not conform the ECMA specs #64

Open pvginkel opened 9 years ago

pvginkel commented 9 years ago

Array.isArray checks the prototype of the object instead of just the [[Class]]. This is not conform the specs, but is how e.g. Google Chrome does it.