Created
September 9, 2018 14:16
-
-
Save kusa-mochi/5b3f3eb6ee5919e32aca3d663912e4b0 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
| var MyClass = /** @class */ (function () { | |
| function MyClass() { | |
| } | |
| MyClass.prototype.MyFunction = function (x) { | |
| console.log("the input number is " + x + "."); | |
| }; | |
| return MyClass; | |
| }()); | |
| var myInstance = new MyClass(); | |
| myInstance.MyFunction(3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment