1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 info: String.prototype.concat([,[...]])
8 Call concat([,[...]]) function with undefined argument of string
12 //////////////////////////////////////////////////////////////////////////////
14 //since ToString(undefined) evaluates to "undefined" concat(undefined) evaluates to concat("undefined")
15 if (String("lego").concat(undefined) !== "legoundefined") {
16 throw new Test262Error('#1: String("lego").concat(undefined) === "legoundefined". Actual: ' + String("lego").concat(undefined));
19 //////////////////////////////////////////////////////////////////////////////