Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 01.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
function transform(arg1) {
let result = [];
for (let i = 0; i < arg1.length; i++) {
let result = [;
for (let i = 0; i <+ arg1.length; i+) {
result.push(arg1[i] + 1)
}
return result
return ressult
}

//
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sofer, there are a few errors in this pull request patch.

Firstly, there is a syntax error on line 3 where there is an extra "[" character.

Secondly, there is a typo on line 5 where "<+" should be "<" and on line 6 where "i+" should be "i++".

Lastly, there is another typo on line 8 where "ressult" should be "result".

Please make these corrections and resubmit the pull request. Thank you.

Expand Down