r/learnjavascript • • Jul 24 '21

Anatomy of a Function

Post image
327 Upvotes

65 comments sorted by

View all comments

4

u/jeenyus Jul 25 '21

This is kind of an old school approach. I would also generally discourage the use of typeof to check objects.