These are basically unmaintained dead ends. Use at your own risk.
script - spec - adapted from Remy Sharp
storage = window.localStorage
storage = window.sessionStorage
storage.clear()
valueString = storage.getItem(keyString)
valueString = storage.key(index)
storage.removeItem(keyString)
storage.setItem(keyString, valueString)
storage.length
script - spec - just for kicks; you probably don't want to use this
script - unit tests - de facto standard in modern browsers based on FireBug Console API
console.log(messageObject, arguments...); // and variations: debug, info, warn, error
console.assert(assertion, messageObject, arguments...);
console.count(name);
console.time(name); console.timeEnd(name);
console.group(name); console.groupEnd();
console.trace();
console.clear();
script - Adam Barth's Cookie API proposal - abandoned
var cookie = document.getCookie(name, callback);
alert(cookie.name);
alert(cookie.value);
var cookieArray = document.getAllCookies(callback);
document.setCookie(cookie, errorCallback);
document.deleteCookie(name, errorCallback);
Creates a native DOMException of the specified type if possible, otherwise a similar looking object. Useful when implementing other polyfills.
exception = DOMException.create(code)
script - unit tests - used for a few C-to-JavaScript porting projects
var str = sprintf("Foo %s bar %d", "hello", 123);