This works without lodash installed as dependency:
const _ = require('lodash');
_.each([1,2,3],console.log);
(no, I have no lodash installed globally)
I saw somewhere something like nodejs supports lodash by default, but now I cannot find any documentation about this. Is it finally true? Where can I read about it?
P.S. Finally I found and deleted node_modules in my home directory, and all the magic gone, now this script produces an error for missing dependency. Thank you guys for help in this investigation.