mirror of https://github.com/tc39/test262.git
12 lines
305 B
JavaScript
12 lines
305 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
info: Sanity test for throw statement
|
|
es5id: 12.13_A1
|
|
description: Trying to throw exception with "throw"
|
|
negative: expected_message
|
|
---*/
|
|
|
|
throw "expected_message";
|