Skip to content

Commit

Permalink
Update arr_byte.js 14 05
Browse files Browse the repository at this point in the history
  • Loading branch information
iamabhiCH authored May 14, 2024
1 parent 3616cf8 commit a98a1b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arr_byte.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// WAP to Convert Byte Array to JSON.

let arr = new Uint8Array([65,66,72,73,83,72,69,75]);
let arr = new Uint8Array([65,66,72,73,83,72,69,75,689,342,2407]);
let txtDecoder = new TextDecoder();
let res = txtDecoder.decode(arr);

console.log(res);
console.log(res);

0 comments on commit a98a1b9

Please sign in to comment.