News for hackers. Stuff that matters.
Re:New ES2019 JavaScript features by strbean on Thursday September 26, 2019 @07:48PM (#21086916)
How would this differ from the idiomatic "x || y"? Just s/non-zero/truthy
Re:New ES2019 JavaScript features by nojvek on Friday September 27, 2019 @01:44AM (#21088794)
|| short circuits on falsey. 0, “”, false, null, undefined

?? Short circuits on nullish. Only null and undefined.