Home > Javascript, Links > Advanced javascript tutorial

Advanced javascript tutorial

November 4th, 2008

Warning: count(): Parameter must be an array or an object that implements Countable in /www/webvol14/yj/kljuhyzt1cwiiug/expertaya.com/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 76

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.

1
2
3
4
5
6
7
8
9
10
// 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)));
  };
};

Share/Save/Bookmark

Javascript, Links , ,

  1. Alex
    May 7th, 2012 at 13:31 | #1

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

  1. No trackbacks yet.