Source code

Revision control

Copy as Markdown

Other Tools

/*---
description: A negative test that throws a different error than expected.
negative:
phase: runtime
type: TypeError
---*/
throw new RangeError();