-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further improvements to
console
stubbing method
These improvements are: - cache current method in `while`-loop to reduce property look-ups - use `if` as the conditional assignment in `while`-loop in order to improve performance and readability Reference: commit 578f377 Closes gh-1229
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should probably move the var declaration itself outside of the loop.