What is console.log?

前端 未结 22 2642
面向向阳花
面向向阳花 2020-11-22 00:41

What is the use of console.log?

Please explain how to use it in JavaScript, with a code example.

22条回答
  •  野的像风
    2020-11-22 01:07

    It is used to log (anything you pass it) to the Firebug console. The main usage would be to debug your JavaScript code.

提交回复
热议问题