console.warn() might be more appropriate