Skip to content

Instantly share code, notes, and snippets.

@yumetodo
Last active September 15, 2017 11:47
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 yumetodo/56f2ed953f7ce903e163babf83f6d822 to your computer and use it in GitHub Desktop.
Save yumetodo/56f2ed953f7ce903e163babf83f6d822 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[現在のスコープに変数xがある?]
---
No
==> 外側にスコープがある
Yes
==> 変数xを返す
[外側にスコープがある]
---
Yes
==> ひとつ外側のスコープに移動
No
==> ReferenceErrorが発生
[ひとつ外側のスコープに移動]
==> 現在のスコープに変数xがある?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment