ramnathv / htmlwidgets

HTML Widgets for R

Home Page:http://htmlwidgets.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apparent bug - operator precedence

oliverbock opened this issue · comments

At

if (!error instanceof SyntaxError) {
, the condition

`if (!error instanceof SyntaxError) {`

will never succeed because ! takes precedence over instanceof.

Thanks for the report. Just curious: Did you run into this issue in practice, or did you happen to see it when looking at the code?

We just observed it in the code.