Open amerov opened 5 years ago
Code example
function prefilData(hsh, el, secondStartDate) { const xy = (_, i) => { const data = { x: (el.data[0] && el.data[0].x + SECONDS_IN_DAY * i) || secondStartDate, y: null } return el.data[i] || data } return hsh.data.map(xy) }
Screenshot:
secondStartDate matched as a jsObjectValue jsObject jsFuncBlock jsFuncBlock
secondStartDate
jsObjectValue jsObject jsFuncBlock jsFuncBlock
Not sure I see the problem?
secondStartDate highlighted as a object key
I can't seem to repro:
Code example
Screenshot:
secondStartDate
matched as ajsObjectValue jsObject jsFuncBlock jsFuncBlock