// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

js> [1, 13, 4].forEach;
function forEach() { [native code for Array.forEach, arity=1] }

js> res = '';
js> [1, 13, 4].forEach(function(elem) { res += elem });
js> res
1134

js> Array.forEach;
function forEach() { [native code for Array.forEach, arity=1] }

js> res = '';
js> Array.forEach([1, 13, 4], function(elem) { res += elem });
js> res
1134
