You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If sourcesContent’s size is greater than or equal to index, set decodedSource’s content to sourcesContent[index].
I think the size >= index check here instead should be size > index.
If sources has 3 items, and sourcesContent has 2 items then you can have iteration on [0, 1, 2] indices. If index = 2, and size = 2 then size >= index but sourcesContent[2] is undefined.
The text was updated successfully, but these errors were encountered:
In the decode source map sources algorithm, step 4.d. says this:
I think the size >= index check here instead should be size > index.
If sources has 3 items, and sourcesContent has 2 items then you can have iteration on [0, 1, 2] indices. If index = 2, and size = 2 then size >= index but sourcesContent[2] is undefined.
The text was updated successfully, but these errors were encountered: