Advanced javascript tutorial

http://ejohn.org/apps/learn/ – A really good advanced javascript tutorial.
If you want to be able to understand the code below, than this tutorial is the right thing.

// The .bind method from Prototype.js
Function.prototype.bind = function(){
  var fn = this, 
  args = Array.prototype.slice.call(arguments),
  object = args.shift();
  return function(){
    return fn.apply(object,
      args.concat(Array.prototype.slice.call(arguments)));
  };
};

Posted

in

,

by

Comments

One response to “Advanced javascript tutorial”

  1. Alex Avatar
    Alex

    This is a great post. Thank you and Google for chance to read it.

Leave a Reply

Your email address will not be published. Required fields are marked *