Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of Kraang Prime

Kraang Prime

Kraang Prime has asked 25 questions and find answers to 31 problems.

Stats

877
EtPoint
248
Vote count
25
questions
31
answers

About

Run this javascript to find out what I am doing right now :

var day = new Date().getDay();
var hour = new Date().getHours();
var result = "having Lucid dreams of Code";

if(hour <= 9 && hour >= 17 && day <= 5) {
    result = "Writing Code";
}

console.log("I am currently " + result);