Skip to content

Instantly share code, notes, and snippets.

@jhiebert
jhiebert / hacks.js
Created June 20, 2013 15:15 — forked from notmasteryet/hacks.js
Uint8Array Support for IE8
(function() {
try {
var a = new Uint8Array(1);
return; //no need
} catch(e) { }
function subarray(start, end) {
return this.slice(start, end);
}