AssertionError constructor

AssertionError([Object message ])

Creates an assertion error with the provided message.

Implementation

AssertionError([this.message]);