#author("2021-12-06T13:52:53+09:00","default:ryuichi","ryuichi")
#author("2021-12-06T13:56:10+09:00","default:ryuichi","ryuichi")
* console.log() [#ddb7edd5]

** オブジェクトのショートハンドプロパティ [#na9523ae]

 console.log({width, height});

** console.assert() [#ic99fd5f]

 console.assert(num === 1, "Error. num must be 1");

** console.trace() [#r8ec9146]

 function one() { two(); }
 function two() { three(); }
 function three() { console.trace(); }
 
 one();
 
   ==>
     VM487:3 console.trace
     three @ VM487:3
     two @ VM487:2
     one @ VM487:1
     (anonymous) @ VM508:1
     undefined

 


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS