4 ms·
Typed array feature is pretty interesting.
by swannodette 16y ago
Typed array feature is pretty interesting.
- jws 16y agoMozilla has a selector, mozResponseArrayBuffer, to get an AJAX result as an ArrayBuffer. Having worked with binary data from an AJAX query I whole heartedly applaud! I hope Webkit has a mechanism for that, and even more so, that the W3C writes a standard for it.
- swannodette 16y agoNice. On a different note, WebKit sure is dragging its feet about adapting Object.freeze. Please, for the love of JavaScript, give us immutable objects.
- othermaciej 16y agoWe're slowly adding more ES5 features to JavaScriptCore. While Object.freeze is not in yet, we do have Object.defineProperty, which you can use to make individual properties read-only and non-deletable. Once Object.preventExtensions is added, freeze and seal should be trivial.