console.log() doesn't work in Safari 6.0 Web Inspector

后端 未结 6 1904
野的像风
野的像风 2021-01-07 20:24
console.log(\'hi\');

undefined

Is there any similar implementation in 6.0? or Did I do something wrong?

6条回答
  •  爱一瞬间的悲伤
    2021-01-07 20:51

    Make sure that you're selecting "All" at the top of your console window. Sometimes it'll automatically switch to only show Errors, Warnings, or Logs. If you select "All", then you should see all your console.log()s!

提交回复
热议问题