suppose, array1 = [‘B’, ‘G’, ‘R’, ‘A’], array2 is Uint8Array, how to concatinate these two arrays ? I used var array3 = array1.concat(array2), but the result seems wrong , and array3.length is alwalys 5, regardless of content of array2. Answer You can do: