JS Built-ins
← URL20 / 20
URLbeginner

URL.canParse() β€” is a static function

πŸ“– Usage Example
typeof URL.canParse  // β†’ 'function'

URL.canParse is a static method and does not require instantiation.

URL.canParse() β€” static method

URL.canParse is a static method on the URL class.

Challenge: Verify that URL.canParse is a function and behaves correctly.

πŸ’‘ Hints (1)
  • β€’ Static methods live on the class, not the instance