Last active
September 23, 2015 18:15
-
-
Save wycats/bc866691b3bda8fade26 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
class Person { | |
@reader _first, _last; | |
constructor(first, last) { | |
this._first = first; | |
this._last = last; | |
} | |
} | |
class Person { | |
constructor(first, last) { | |
public @reader this._first = first; | |
public @reader this._last = last; | |
} | |
} | |
class Person { | |
@reader _first, _last; | |
} | |
class Person { | |
constructor() { | |
public @reader this._first, this._last; | |
} | |
} | |
extend(Object, { | |
@reader _first: undefined, | |
@reader _last: undefined, | |
constuctor(first, last) { | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment