Detecting that a value is an Object as opposed to an Array/Arguments/etc (or more generally, reading the StringTag of a value) still requires a toString.call(value) AFAIK.
This is still used a lot in recursive polymorphic code like virtual dom, AST traversal, deep cloning, etc.
This is still used a lot in recursive polymorphic code like virtual dom, AST traversal, deep cloning, etc.