Created
March 24, 2019 03:02
-
-
Save Damimd10/e74af95af920ba4e47386ef048aa7ad3 to your computer and use it in GitHub Desktop.
This file contains 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 name = 'FDV'; | |
function company() { | |
this.name = 'intive FDV'; | |
} | |
company.prototype.name = 'intiveFDV Disney'; | |
company.prototype.description = 'Great company to ...'; | |
console.log(new company().name); // log 'intive FDV' | |
console.log(new company().description); // log 'Great company to ...' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment