Print Var in JsFiddle

后端 未结 12 1641
眼角桃花
眼角桃花 2020-11-30 16:18

How would I print something to the result screen in JsFiddle from my JavaScript. I can\'t use document.write(), it doesn\'t allow it, neither print

12条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-30 16:32

    To be able to see output from console.log() in JSFiddle, go to External Resources on the left-side panel and add the following link for Firebug:

    https://getfirebug.com/firebug-lite-debug.js

    Example of the result after adding firebug-lite-debug.js

提交回复
热议问题