blob: 728d40f5a5dfe9ce2af1f3cfce3dff3ec996b8c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.5.4.20-1-2
description: String.prototype.trim throws TypeError when string is null
---*/
assert.throws(TypeError, function() {
String.prototype.trim.call(null);
});
|