3 ms·
Yes, useful when trying to debug functional style chaining: const result = array .map(someFunction) .filter(someOtherFunction) .map(x => (console
by skywal_l 5y ago
Yes, useful when trying to debug functional style chaining:
const result = array
.map(someFunction)
.filter(someOtherFunction)
.map(x => (console.log(x), x)) // debug here
.map(stillAnotherFunction);