Skip to content

Commit

Permalink
fix array module
Browse files Browse the repository at this point in the history
  • Loading branch information
Vardan2009 committed May 28, 2024
1 parent 6782011 commit 2ffc618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/array.rn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Array {
fun map(func) {
new_elements = []

for i = 0 to this.len() {
for i = 0 to this.__len__() {
arr_append(new_elements, func(arr_get(this.list, i)))
}

Expand Down

0 comments on commit 2ffc618

Please sign in to comment.