Skip to content

var = function(anonymousFunction) should log var #12

@cmalard

Description

@cmalard

Hello @syko :-)

Love your plugin \o/

Got this:

console.log('myVar', myVar)
var myVar = myFunc(myParam => myParam === myOtherVar);
console.log('myVar', 'myOtherVar:', myOtherVar)

I tried the ES5 version, it's more problematic:

console.log('myVar', myVar)
var myVar = myFunc(function (myParam) { return myParam === myOtherVar; });
console.log('myVar', 'myParam:', myParam)

It should generate all the time:

console.log('myVar', myVar, 'myOtherVar:', myOtherVar)

Not sure this is possible.

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