Thursday, April 5, 2018

A double pipe in JavaScript can be used like the ?? null coalescing operator in C#.

var whatever = function(yin) {
   return yin.yang || new Yang();
}

No comments:

Post a Comment