JS Built-ins
RangeErrorbeginner

RangeError β€” .name property

πŸ“– Usage Example
new RangeError() instanceof Error  // β†’ true

RangeError extends Error and has all standard error properties.

RangeError Name

Every RangeError has a .name property equal to 'RangeError'.

Challenge: Verify the .name property.

πŸ’‘ Hints (1)
  • β€’ Error subtypes have a .name property matching their constructor name.