Skip to content

"Refactor with setInterval" doesn't work with strings #67

@xem

Description

@xem

(Edited)

Ex: The setInterval feature works with:

a=0;setInterval(function(){a++,b=1},33)

or

a=0;setInterval(e=>{a++,b=1},33);

but not with:

a=0;setInterval("a++",33);

or with the very strange but still valid

a=0;setInterval`a++${33}b=1`;

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions