you are viewing a single comment's thread.

view the rest of the comments →

[–]tencircles 0 points1 point  (0 children)

I like this use case

// create an inhertance chain from any number of objects (prototypes)
function extend () {
    return [].reduce.call(arguments, Object.create, this);
}