JSValue throwSyntaxError(String fmt, {bool autoDispose = true}) => JSValue.ptr( this, JS_ThrowSyntaxError(_ref, fmt.toNativeUtf8()), autoDispose: autoDispose, );