Skip to content

Commit b240689

Browse files
authored
Update explainer.md
1 parent a2ccbe3 commit b240689

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

explainer.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ of an encoded frame and adds 4 bytes of padding.
122122
const view = new DataView(encodedFrame.data);
123123

124124
// Ignore the last 4 bytes
125-
let newData = new ArrayBuffer(encodedFrame.data.byteLength - 4);
126-
let newView = new DataView(newData);
125+
const newData = new ArrayBuffer(encodedFrame.data.byteLength - 4);
126+
const newView = new DataView(newData);
127127

128128
// Negate all bits in the incoming frame, ignoring the
129129
// last 4 bytes
@@ -311,4 +311,3 @@ correspondingly larger implementation effort, and would offer less flexibility
311311
in how the processing elements could be implemented.
312312

313313

314-

0 commit comments

Comments
 (0)