Commit 021d7aa9 authored by pksl's avatar pksl 😎

Merge branch 'improve-js' into 'master'

Improve JS syntax by fixing JSHint hints

See merge request !14
parents 0971e6a9 e6d9241a
Pipeline #135487 passed with stage
in 14 seconds
/* 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