Incorrect semicolon position in sample code in README.md #202

Closed
opened 2015-04-09 11:15:29 +00:00 by sao93859 · 0 comments
sao93859 commented 2015-04-09 11:15:29 +00:00 (Migrated from github.com)

In README.md file in line 118 is:

for (i = 0, f = files[i]; i != files.length; ++i) {

but should be:

for (i = 0; f = files[i], i != files.length; ++i) {

In first case inside loop "for" we always have in variable "f" first file, but we want to have file which is currently considered.

In README.md file in line 118 is: ``` javascript for (i = 0, f = files[i]; i != files.length; ++i) { ``` but should be: ``` javascript for (i = 0; f = files[i], i != files.length; ++i) { ``` In first case inside loop "for" we always have in variable "f" first file, but we want to have file which is currently considered.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#202
No description provided.