Skip to content

Instantly share code, notes, and snippets.

@chrishawn
chrishawn / index.js
Last active August 4, 2016 21:56
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
var Promise = require("bluebird");
function promiseTask(indx){
return new Promise(function(resolve,reject){
setTimeout(function () {
var d = new Date();
//console.log(d.toString()+' - task '+indx+' done');

Keybase proof

I hereby claim:

  • I am chrishawn on github.
  • I am chrishawn (https://keybase.io/chrishawn) on keybase.
  • I have a public key whose fingerprint is 0117 7781 F762 6DAB 288C 88AC D7D2 AB9B DF59 E5E9

To claim this, I am signing this object: