test262/test/language/statements/throw/S12.13_A1.js

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";