How to declare typed arrays in Safari? (Javascript)

var ui8a = new Uint8Array();

not working for me in Safari 5.0.5 (7533.21.1) with error message

ReferenceError: Can't find variable: Uint8Array

printed on the console. But an Internet search, apparently, indicates that typed arrays were supported in Webkit for a few months . Haven't they hit the safari yet, or am I not creating them using the correct name or what?

thank

+3
source share
1 answer

I believe it is only available in Firefox 4 and WebKit Nightlies / Chrome 11

0
source

All Articles