Created
July 25, 2016 15:31
-
-
Save winwu/ad685c6a21b3ac51aa2fe2c274cd3a6a 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 Company = function (config) { | |
this.name = config.name; | |
this.fbFansUrl = config.fbFansUrl; | |
}; | |
Company.prototype.getName = function () { | |
return this.name; | |
}; | |
Company.prototype.getFbFansPage = function () { | |
return this.fbFansUrl; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
company.js