No, because the second part of the output is the gated form of an empty array [] . Arrays are gated as a list of string values, separated by commas, so an empty array builds on an empty string. You can confirm this with console.log([] + "" === "") .
Therefore, {} + [] yields the equivalent of "[object Object]" + "" .
source share