This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ninja = { | |
yell: function (n) { | |
console.log(n); | |
return n > 0 ? ninja.yell(n - 1) + 'a' : 'Hiy'; | |
} | |
} | |
var tyko = { | |
yell: ninja.yell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
//do jQuery stuff when DOM is ready | |
}); | |
$(function(){ | |
//jQuery code here | |
}); |