1
2
3
4
5
6
7
if ( typeof console === 'undefined') {
	var console = {
		log: function() {return},
		warn: function() {return},
		error: function() {return},
	}
}