Skip to content

Instantly share code, notes, and snippets.

var factorial = function(self) {
return function(x) {
if(x < 1){
return 1;
}else{
return x * self(x - 1);
}
}
};

Keybase proof

I hereby claim:

  • I am ebsbk on github.
  • I am ebsbk (https://keybase.io/ebsbk) on keybase.
  • I have a public key whose fingerprint is 22DE A24D 1FA8 0096 AB8A 793F B3AB 9A69 87CA 7E9A

To claim this, I am signing this object:

function Check()
{
if (
(form1.house1.value == "yellow")&&
(form1.house2.value == "blue")&&
(form1.house3.value == "red")&&
(form1.house4.value == "green")&&
(form1.house5.value == "white")&&
(form1.drink1.value == "water")&&