because some of the array methods didn't work on typed arrays
Thanks - sorry, I get quite forgetful :) I think ES5 doesn't support a lot of the nice stuff you can do to Arrays (map/etc) but ES6 does. At some point I gave in and copied it from ES6 - and I guess it may have come up before I did that, when Uint8Array wasn't quite as useful?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks - sorry, I get quite forgetful :) I think ES5 doesn't support a lot of the nice stuff you can do to Arrays (map/etc) but ES6 does. At some point I gave in and copied it from ES6 - and I guess it may have come up before I did that, when Uint8Array wasn't quite as useful?