Created
February 25, 2015 03:38
-
-
Save GirlBossRush/a1251dbe90503fddf2a4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class Double { | |
constructor() { | |
return function (num) { | |
return num * 2; | |
} | |
}, | |
documentation() { | |
return "Doubles any given number." | |
} | |
} | |
export default new Double() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment