| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -205,7 +205,7 @@ console.log(uint32array); | |||
| 205 | 205 | ||
| 206 | 206 | ```js | |
| 207 | 207 | const buf = Buffer.from('hello', 'utf16le'); | |
| 208 | - const uint16arr = new Uint16Array( | ||
| 208 | + const uint16array = new Uint16Array( | ||
| 209 | 209 | buf.buffer, | |
| 210 | 210 | buf.byteOffset, | |
| 211 | 211 | buf.length / Uint16Array.BYTES_PER_ELEMENT); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments