How can I inspect the window object for mobile safari?

后端 未结 5 2031
南旧
南旧 2020-12-06 06:33

How can I inspect the window object for mobile safari?

Or more specifically window.navigator - trying to convert to string doesn\'t work and I can\'t explore it with

5条回答
  •  感情败类
    2020-12-06 07:05

    I like jsconsole.com.

    Also, you can use the json2.js library (https://github.com/douglascrockford/JSON-js), which will give you JSON.stringify() function.

    console.log(JSON.stringify({a:'a',b:'b'});
    

提交回复
热议问题