mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Fix lint errors
This commit is contained in:
parent
defcc45419
commit
928df260ff
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ class Scratch3ControlBlocks {
|
|||
// is being iterated does not change the mode.
|
||||
|
||||
if (typeof util.stackFrame.iterationMode === 'undefined') {
|
||||
let value = args.VALUE, mode;
|
||||
const value = args.VALUE;
|
||||
let mode;
|
||||
if (typeof value === 'string' && !isNaN(Number(value))) {
|
||||
mode = 'number';
|
||||
} else if (typeof value === 'number') {
|
||||
|
|
Loading…
Reference in a new issue