LoginSignup
1

More than 5 years have passed since last update.

変数などをチェックするconsoleコマンド

Last updated at Posted at 2012-11-24

コンソールにメッセージを表示します。変数を渡せば変数の中身が表示されます。
オブジェクトを渡せばオブジェクトの中身が表示されます。

var hoge = 'ほげ';
console.log( hoge );

var fuga = jQuery( 'body' );
console.log( fuga );

firebug などのお供に。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1