Fix alternate code path introduced in 295f08da97 (oops)

This commit is contained in:
Raymond Hill 2019-04-28 14:18:09 -04:00
parent 295f08da97
commit c4f9ae706a
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@
decode(instr, arrbuf) {
if ( instr.charCodeAt(0) === 0x5B /* '[' */ ) {
const inbuf = Array.isArray(instr);
const inbuf = JSON.parse(instr);
if ( arrbuf instanceof ArrayBuffer === false ) {
return new Uint32Array(inbuf);
}