Skip to content

Instantly share code, notes, and snippets.

@rbiggs
Last active October 25, 2019 03:10
Show Gist options
  • Select an option

  • Save rbiggs/080bbc82066503a5156acd614e255ef3 to your computer and use it in GitHub Desktop.

Select an option

Save rbiggs/080bbc82066503a5156acd614e255ef3 to your computer and use it in GitHub Desktop.
Returning state in the program init method
init() {
// always return state:
return state
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment