Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Lightbulb End Watching solution in Clear category for Lightbulb End Watching by Atadolfo
var sumLight = (els: Date[], startWatching?: Date, endWatching?: Date): number => (els.length % 2 ? els.concat(endWatching) : els)
.reduce((sum: number, time: Date, i: number): number => sum + (time < startWatching ? startWatching :
(time > endWatching ? endWatching :
time))
.getTime()* (i % 2 ? 1 : -1), 0) / 1000;
Nov. 11, 2020
Comments: