how to know type of dom element in js

Solutions on MaxInterview for how to know type of dom element in js by the best coders in the world