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

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

undefined

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

6条回答
  •  梦毁少年i
    2021-01-07 20:33

    Not preferred but it works.

    console.error(message);

    Note: I was running gulp serve -d -w which includes a watch. Even then I couldn't see the messages until I restarted gulp.

提交回复
热议问题