News for hackers. Stuff that matters.
Re:JavaScript Modularity Shaming by ajanuary on Thursday January 08, 2015 @02:53AM (#8855436)

    var foo = [1, 2, 3, 4];
    foo.bar = "I exist";
    console.log(foo.bar);
    foo.baz = function() { return "So do I"; }
    console.log(foo.baz());
Arrays are, to most practical purposes, just special objects.

There are no comments on this comment yet.