`throw` or `console.warn` a deprecation warning?