Javascript detect DOM ready

I am going to provide you pure javascript code to check DOM is ready or not.

Please see below code,once DOM has been full loaded it will alert “Developer Gang”.