Open csandman opened 2 years ago
There were two issues I noticed when I copied over the example conversion function from ArrayBuffer to Base64 data url.
First, the i index variable is declared as a const when it should be a let.
i
const
let
Second, the data variable is being destructured from the picture tag but never used.
data
picture
Both of these typos are fixed in this PR
There were two issues I noticed when I copied over the example conversion function from ArrayBuffer to Base64 data url.
First, the
i
index variable is declared as aconst
when it should be alet
.Second, the
data
variable is being destructured from thepicture
tag but never used.Both of these typos are fixed in this PR