Boo who

function boo(bool) {
  // What is the new fad diet for ghost developers? The Boolean.
  //return bool;
  return typeof bool === 'boolean';
}

boo(null);

  

原文地址:https://www.cnblogs.com/mengruying/p/6197779.html