console.log showing contents of array object

后端 未结 7 1813
没有蜡笔的小新
没有蜡笔的小新 2021-01-30 16:02

I have tried using console.log so I can see the content of my array that contains multiple objects. However I get an error saying console.log is not an

7条回答
  •  情歌与酒
    2021-01-30 16:42

    Seems like Firebug or whatever Debugger you are using, is not initialized properly. Are you sure Firebug is fully initialized when you try to access the console.log()-method? Check the Console-Tab (if it's set to activated).

    Another possibility could be, that you overwrite the console-Object yourself anywhere in the code.

提交回复
热议问题