Small addendum to the Cargo section:
Rust has removed extern crate, so it's less verbose now: https://rust-lang-nursery.github.io/edition-guide/2018/trans...
195 karma · joined April 9, 2015
Rust has removed extern crate, so it's less verbose now: https://rust-lang-nursery.github.io/edition-guide/2018/trans...
As far as I can tell you can't something like:
Array.prototype[0] = 5;
and make [] the same as [5].
There's a lot of edge cases in javascript that make its optimization much more complicated than lua's.