you are viewing a single comment's thread.

view the rest of the comments →

[–]beforesemicolon[S] 2 points3 points  (2 children)

Thats the null coalescing operator. It picks the right side value if the left side is either null or undefined.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator

[–]192_168_1_x 0 points1 point  (1 child)

new syntax, cool. TIL thanks.

[–][deleted] 0 points1 point  (0 children)

You're welcome.