axe-core
Version:
Accessibility engine for automated Web UI testing
13 lines (11 loc) • 312 B
JavaScript
/*eslint no-console: 0 */
/**
* Logs a message to the developer console (if it exists and is active).
*/
axe.log = function() {
'use strict';
if (typeof console === 'object' && console.log) {
// IE does not support console.log.apply
Function.prototype.apply.call(console.log, console, arguments);
}
};