When we talk about
environment, most of us knows about web browser and
But that's not complete.
then you will realize that you are misunderstanding this word.
npm install hasdom
var hasDOM = hasDOMconsoleconsole
Written in ECMAScript 6 with AMD / CommonJS / UMD support