JavaScriptのデバッグをする際にconsole.logをよく使いますが他にも便利なメソッドがあります。 consoleオブジェクトの中身を確認すると以下のメソッドが定義されています。 assert clear count debug dir dirxmlerror group groupCollapsed groupEnd infolog profile profileEnd table time timeEnd timeStamp timeline timelineEnd trace warn console.assert(expression, object) expressionが偽の場合、コンソールにobjectを出力します。 console.clear() コンソールをクリアします。 console.count(label) コンソールにlabelと累計実行回数を出力

1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く