.log shorcut for console.log doesn't work for big arrow with single instruction
The shortcut for consol logging is to finish a print, template string with suffix of .log
'abc'.log
on tab events converts to
console.log('abc');
Same result works for callback functions using big arrows, with brackets only
subscribe( a => {'abc'.log})
subscribe( a => {
console.log('abc');} )
However, they don't work for big arrow assignment with no brackets
subscribe( a => 'abc'.log )
Is there a fix for this?
Please sign in to leave a comment.
Logged as https://youtrack.jetbrains.com/issue/WEB-33109, please follow it for updates