code: function onetime() {
          if (called) return value;
  
          called = 1;
          value = fn.apply(this, arguments);
          fn = null;
  
          return value;
        }
docs: The function that prevents double execution.
  
  @api private