e1e7912ab2
Seems more accurate, and would allow `isJsObject()` to handle typical
`{}`-literals in dart, which could be useful
Closes #2995