michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * Values of the List type are simply ordered sequences of values michael@0: * michael@0: * @path ch08/8.8/S8.8_A2_T3.js michael@0: * @description Call function, that concatenate all it`s arguments michael@0: */ michael@0: michael@0: function __mFunc(){var __accum=""; for (var i = 0; i < arguments.length; ++i){__accum += arguments[i]};return __accum;}; michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: //CHECK#1 michael@0: if (__mFunc("A","B","C","D","E","F") !== "ABCDEF"){ michael@0: $ERROR('#1: function __mFunc(){var __accum=""; for (var i = 0; i < arguments.length; ++i){__accum += arguments[i]};return __accum;}; __mFunc("A","B","C","D","E","F") === "ABCDEF". Actual: ' + (__mFunc("A","B","C","D","E","F"))); michael@0: } michael@0: // michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: