3 ms·
Javascript does that too with its ES6 chaining syntax, would you say it is elegant too? var list = Array.from({length:20}, (_, i)=>({"Foo":i+1, "Bar": "hey"}))
by neximo64 5y ago
Javascript does that too with its ES6 chaining syntax, would you say it is elegant too?
var list = Array.from({length:20}, (_, i)=>({"Foo":i+1, "Bar": "hey"}))
- pipeline_peak 5y agoElegant, I would say so myself. Does the underscore represent the list?