Remove extra `typeof` (#110)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When `typeof` is used with unresolved reference, it swallows `ReferenceError` and returns `"undefined"`. `attempt` binding is defined here, so it is safe to compare to `undefined` directly.
authored by Aleksey Shvayka · committed by Andrey Sitnik · parent 38f5bf8 · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed