Skip to content

enhancement: IfStatement expressions has mutil #24

Description

@weituotian

great repo! and i have some suggest to improve it!

one user case:

var a = Math.ramdom();
var b = Math.ramdom();
if (a = a + 0.2, b = b + 0.1, a > b) {
    console.log('haha');
}

i want it to

var a = Math.ramdom();
var b = Math.ramdom();
a = a + 0.2;
b = b + 0.1;
if (a > b) {
    console.log('haha');
}

does it easy to do it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions