blob: c6cb14c57861b14c7574fb29f980d3f41bc1f7c5 [file]
// 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> [9, 16, 25].map;
function map() {
[native code]
}
js> "" + [9, 16, 25].map(Math.sqrt);
3,4,5
js> Array.map;
function map() {
[native code]
}
js> "" + Array.map([9, 16, 25], Math.sqrt);
3,4,5