Created
November 27, 2017 13:33
-
-
Save seogi1004/6ac8c2a7b20ac1d144504819ac1da9ee 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 Student = function(id, name) { | |
var id = id; | |
this.name = name; | |
} | |
var my = new Student("Seogi1004", "Moon-Hak-I"); | |
alert(my.id + ", " + my.name); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment