Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce JS confusion on assignment in while()
Without this change, the JS runtime warns about a potential mistype of an assignment vs equality check. JS WARNING: [.../[email protected]/extension.js 109]: test for equality (==) mistyped as assignment (=)? The fix is easy, put the assigment inside its own set of () which is parsed by JS before the boolean evaluation of 'line'. Signed-off-by: David Sommerseth <[email protected]>
- Loading branch information