I get what it does, and use it all the time. But funnily enough, I've yet to find documentation that says what "DIR" actually means. "Directory" doesn't seem right.
This is not a "What's the difference between console.log()
and console.dir()
?" question. It's simply, "What do the letters DIR actually stand for?"
It just means "Directory". Directory is a synonym for index, list, listing, register, catalogue, record, archive, inventory etc. Some of those words might have been a better fit for this function though, like "listing".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With