Skip to content

Instantly share code, notes, and snippets.

@wycats
Last active September 23, 2015 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wycats/bc866691b3bda8fade26 to your computer and use it in GitHub Desktop.
Save wycats/bc866691b3bda8fade26 to your computer and use it in GitHub Desktop.
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