mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
removed all traces of 'extends' -- it's not any shorter or more convenient than just setting the prototype
This commit is contained in:
parent
ec58d6fda2
commit
e916d4648d
13 changed files with 27 additions and 38 deletions
|
@ -1,4 +1,6 @@
|
|||
(function(){
|
||||
|
||||
// CoffeeScript on the left, JS on the right.
|
||||
var square = function(x) {
|
||||
return x * x;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue