Skip to content

Instantly share code, notes, and snippets.

@Cycymomo
Last active December 19, 2015 19:48
Show Gist options
  • Save Cycymomo/6008508 to your computer and use it in GitHub Desktop.
Save Cycymomo/6008508 to your computer and use it in GitHub Desktop.
// 140bytes - http://www.developpez.net/forums/d1362763/webmasters-developpement-web/javascript/ludique-defis-code-en-tweet/
// by @SylvainPV at syllab.fr
(function getNextVendredi13(){
for(d=new Date;d.getDay()+d.getDate()>1;d=new Date(+d+8e7));return d
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment