Closed Fuco1 closed 5 years ago
js2-log-this can "do the right thing" if the point is at a node which is representing a variable.
js2-log-this
Coverage remained the same at 58.864% when pulling 338260f7125f50acdbdfbbcee2310d7965720e07 on Fuco1:feat/js2-log-this-on-var-node into 73a7b2ea2db4ee6327e788f7462da9e107e5082f on Wilfred:master.
I'm a little reluctant about using ignore-errors and a private function from another package, but together they can't do any harm :)
ignore-errors
js2-log-this
can "do the right thing" if the point is at a node which is representing a variable.