-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Causing zlib-browserify to be broken: brianloveswords/zlib-browserify#6
To produce the issue:
- Clone this gist
browserify test.js >out.js- Copy out.js into jsbeautifier.org and then paste back into out.js
- Add a
debuggerstatement like this:
debugger
a.C = l[k++];
a.D = l[k++];
(31 !== a.C || 139 !== a.D) && m(Error("invalid file signature:", a.C, a.D));- run in the browser
You will notice that l is a Buffer and l[0] is yielding undefined when it should yield 31. Note also that l.parent[0] works.
Metadata
Metadata
Assignees
Labels
No labels