A variadic argument list. The first argument (args[0]) is the optional
value parameter. Its presence is detected via args.length, allowing
the function to distinguish between an explicitly passed undefined value
and a completely omitted argument.
The value’s internal type signature (e.g., '[object Array]' for an
Array instance), or the undefined value if no argument was passed.
Returns the internal type signature of the first argument, if provided.
This function exposes a value’s internal
[[Class]]tag (aka type signature), such as'[object Function]'for a function or'[object String]'for a string - whether it's a primitive string value or aStringobject type.Internally, it delegates to the standard prototype
toStringmethod: