Closed rohit2sharma95 closed 2 years ago
Seems that while loop is a good fit here: https://github.com/lukeed/dset/blob/6515792797c398682864a2cc26907585748f3a71/src/index.js#L4 And the for loop is made less readable by changing syntax IMO 🙂
while
for
Thanks, it was just code-style :) Accepted the PR only because it was 2B smaller
Seems that
while
loop is a good fit here: https://github.com/lukeed/dset/blob/6515792797c398682864a2cc26907585748f3a71/src/index.js#L4 And thefor
loop is made less readable by changing syntax IMO 🙂