SublimeLogMagic
SublimeLogMagic copied to clipboard
var = function(anonymousFunction) should log var
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.