param message export function warning ( message ) { const text = `Warning: ${ message }` ; if ( typeof console !== 'undefined' ) { console . error ( text ) ; } try { throw Error ( text ) ; } catch ( x ) { } }