Comment

Comment by nodesocket

Interestingly the results from jsc, are different from node.js:

----- jsc ------

   [] + []
   
   > [] + {}
   [object Object]
   > {} + []
   0
   > {} + {}
   NaN
------ node.js ------

   > [] + []
   ''
   > [] + {}
   '[object Object]'
   > {} + []
   '[object Object]'
   > {} + {}
   '[object Object][object Object]'
parent nodesocket 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton