mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -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.
|
// is being iterated does not change the mode.
|
||||||
|
|
||||||
if (typeof util.stackFrame.iterationMode === 'undefined') {
|
if (typeof util.stackFrame.iterationMode === 'undefined') {
|
||||||
let value = args.VALUE, mode;
|
const value = args.VALUE;
|
||||||
|
let mode;
|
||||||
if (typeof value === 'string' && !isNaN(Number(value))) {
|
if (typeof value === 'string' && !isNaN(Number(value))) {
|
||||||
mode = 'number';
|
mode = 'number';
|
||||||
} else if (typeof value === 'number') {
|
} else if (typeof value === 'number') {
|
||||||
|
|
Loading…
Reference in a new issue