Preview:
namespace.getLocal = function(key)
{
	return localStorage.getItem(key);
}

namespace.setLocal = function(key, value)
{
	return localStorage.setItem(key, value);
}

namespace.hasLocal = function(key)
{
	return myjs.getLocal(key) != null;
}

namespace.removeLocal = function(key)
{
	localStorage.removeItem(key);
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter