Skip to content

Commit

Permalink
Added PHP random logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoyang committed Dec 5, 2015
1 parent b70ff76 commit c51648a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions anything.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
// guaranteed to be random
}

var getTrueRandomNumber = function () {
return getRandomNumber(); // I don't know what you were expecting
}

var everything = function()
{
return 42;
Expand Down Expand Up @@ -147,6 +151,7 @@
anything.prototype.isNumber5 = isNumber5;
anything.prototype.addRealFunctionalityOnTheFly = addRealFunctionalityOnTheFly;
anything.prototype.getRandomNumber = getRandomNumber;
anything.prototype.getTrueRandomNumber = getTrueRandomNumber;
anything.prototype.everything = everything;
anything.prototype.twoString = twoString;
anything.prototype.fizzbuzz = fizzbuzz;
Expand Down

0 comments on commit c51648a

Please sign in to comment.