Ask questionsUncaught TypeError: console.dir is not a function
Steps to reproduce:
const arr = [2, 3, 5]; console.dir(arr);
Actual: Error thrown in the console:
Uncaught TypeError: console.dir is not a function at ?editor_console=true:106
console.dir should be valid and not throw an error.
Answer questions oskarkrawczyk
Thanks for the heads-up. Should now work as expected even when the JSFiddle console is activated.
Related questionsNo questions were found.