Commit e6d9241a authored by Martin Müller's avatar Martin Müller Committed by pksl

Improve JS syntax by fixing JSHint hints

parent 0971e6a9
/* jshint esversion: 6 */
// The date parameter is actually the day of month, if absent then 1 is assumed.
// Same for days.
const lastScandalDate = new Date(2019, 4, 1)
const currentDate = Date.now()
const lastScandalDate = new Date(2019, 4, 1);
const currentDate = Date.now();
let outputDate = Math.floor((currentDate - lastScandalDate) / 24 / 3600 / 1000)
let outputDate = Math.floor((currentDate - lastScandalDate) / 24 / 3600 / 1000);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment