It's called "Nullish coalescing operator" and it's explained here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing
In your case it sets h.hj to h.hj if h.hj is not NULL, and to the function if h.hj is NULL.