diff options
author | Johannes Ewald <johannes.ewald@peerigon.com> | 2015-02-23 03:41:19 +0300 |
---|---|---|
committer | Johannes Ewald <johannes.ewald@peerigon.com> | 2015-02-23 03:41:19 +0300 |
commit | fab30be52aa7b236a143dfe10cac9f6c58fc4b3f (patch) | |
tree | 195f380bddc6261d7cc3fb6834ef245d9f42d448 /README.md | |
parent | e70efd18f9e1d5993fc0a7f1decb5fe6720b3bd8 (diff) |
Add note on special globals
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -158,7 +158,10 @@ rewire imports global variables into the local scope by prepending a list of `va var someGlobalVar = global.someGlobalVar; ``` -If `someGlobalVar` is not a valid variable name, rewire just ignores it. **In this case you're not able to override the global variable locally**. +If `someGlobalVar` is not a valid variable name, rewire just ignores it. **In this case you're not able to override the global variable locally**. + +**Special globals**<br> +Please be aware that you can't rewire `eval()` or the global object itself. <br /> |