throw DOMException

by jib1

JavaScript

throw new DOMException("hi", "SyntaxError");