Skip to content

Instantly share code, notes, and snippets.

@matthijn
Last active January 21, 2016 18:53
Show Gist options
  • Save matthijn/750ee867e3758dfe29c6 to your computer and use it in GitHub Desktop.
Save matthijn/750ee867e3758dfe29c6 to your computer and use it in GitHub Desktop.
Woop
var foo =
{
get
{
return 10
}
set
{
foo = newValue
}
}
var foo = {
get {
return 10
} set {
foo = newValue
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment