Skip to content

Instantly share code, notes, and snippets.

View narutolby's full-sized avatar
🎯
Focusing

narutolby narutolby

🎯
Focusing
View GitHub Profile
define(['module'], function (module) {
'use strict';
var storage = (function(){
var uid = new Date,
result;
try {
localStorage.setItem(uid, uid);
result = localStorage.getItem(uid) == uid;
localStorage.removeItem(uid);