Created
February 3, 2016 09:04
-
-
Save appcoreopc/7f8ecd7f8ad8126acba1 to your computer and use it in GitHub Desktop.
simpleview
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
class View { | |
constructor(name) { | |
this._name = name; | |
} | |
name(name) { | |
if (!arguments.length) return this._name; | |
this._name = name; | |
return this; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment