on master help sign in
Update doc, get is not recursive anymore
035f0f1Christian Widera
libraries/Native/Array.js−1
@@ -24,7 +24,6 @@ Elm.Native.Array.make = function(elm) {
24 // An empty array.
24 // An empty array.
25 var empty = { ctor:"_Array", height:0, table:new Array() };
25 var empty = { ctor:"_Array", height:0, table:new Array() };
26
26
27− // Gets the value at index i recursively.
28 function get(i, array) {
27 function get(i, array) {
29 if (i < 0 || i >= length(array)) {
28 if (i < 0 || i >= length(array)) {
30 throw new Error("Index " + i + " is out of range. Check the length of " +
29 throw new Error("Index " + i + " is out of range. Check the length of " +