Tests for native class support.
class
boolean indicating if an environment has native class support
var bool = hasClassSupport(); if ( bool ) { console.log( 'Environment has native class support.' ); } else { console.log( 'Environment lacks native class support.' ); }
Tests for native
class
support.