Skip to content

Instantly share code, notes, and snippets.

@igorwojda
Created October 21, 2017 13:22
Show Gist options
  • Save igorwojda/00c89fb33c99e3e1c9c17795f8d3b7e0 to your computer and use it in GitHub Desktop.
Save igorwojda/00c89fb33c99e3e1c9c17795f8d3b7e0 to your computer and use it in GitHub Desktop.
Side effects - retrieving value from outside the function
fun setPatient() {
return this.patient
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment