I'm using the node scheduler & it creates an object like so:
{
recurs: true,
year: null,
month: null,
date: null,
dayOfWeek: null,
hour: null,
minute: Range { start: 0, end: 59, step: 2 },
second: 0
}
How can I access the minute.Range.step value?
When I use minute.Range.step, node throws the following error:
TypeError: Cannot read property 'step' of undefined
I've also tried minutes.Range["step"] which is the same as what I tried above.
minute.steporminute["step"]..minute.step? Why are you usingRange?Rangeobject.minuteis the Range object.