blob: 8b4b66ca188fb45aa7454ad669b77b8d09468acb [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.5.4.20-3-12
description: >
String.prototype.trim - 'S' is a string that ends with null
character
---*/
assert.sameValue("abc\0\u0000".trim(), "abc\0\u0000", '"abc\0\u0000".trim()');