blob: 06c6cc73cf1ec7527e3abe6b1bbeb9fda961c894 [file] [log] [blame]
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.7-1-4
description: Object.defineProperties throws TypeError if 'O' is a string
---*/
assert.throws(TypeError, function() {
Object.defineProperties("abc", {});
});