code: function space(size) {
    var sp = ' ';
    var result = '';
  
    for (;;) {
      if ((size & 1) === 1) {
        result += sp;
      }
      size >>>= 1;
      if (size === 0) {
        break;
      }
      sp += sp;
    }
    return result;
  }
docs: Produce a string full of space characters of a given size.