3 ms·
id = x => x; logging_id = x => { log(x); return x };
by ric2b 6y ago
id = x => x;
logging_id = x => { log(x); return x };
- valenterry 6y agoWhat's log? console.log?
- ric2b 6y agoCould be anything, just logging the value of x to some place. Assume it never raises exceptions.
- valenterry 6y agoI guess then I have to result in the techniques (toString) that I have discussed in the other thread here!