From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/console/info/index.html | 66 ++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 files/ja/web/api/console/info/index.html (limited to 'files/ja/web/api/console/info') diff --git a/files/ja/web/api/console/info/index.html b/files/ja/web/api/console/info/index.html new file mode 100644 index 0000000000..92d3ccd666 --- /dev/null +++ b/files/ja/web/api/console/info/index.html @@ -0,0 +1,66 @@ +--- +title: Console.info() +slug: Web/API/console/info +tags: + - API + - Debugging + - Method + - NeedsBrowserCompatibility + - Web Development + - web console +translation_of: Web/API/Console/info +--- +
{{APIRef("Console API")}}
+ +

Web コンソールに情報メッセージを出力します。Firefox および Chrome では、Web コンソールでこれらの項目の隣に小さな "i" のアイコンを表示します。

+ +

{{AvailableInWorkers}}

+ +

構文

+ +
console.info(obj1 [, obj2, ..., objN]);
+console.info(msg [, subst1, ..., substN]);
+
+ +

引数

+ +
+
obj1 ... objN
+
出力する JavaScript オブジェクトのリスト。各オブジェクトを文字列で表現したものを、リストの並び順に追記して出力します。
+
msg
+
0 個以上の置換文字列を含む JavaScript 文字列。
+
subst1 ... substN
+
msg 内の置換文字列を置き換える JavaScript オブジェクト。これにより、出力形式を高度に制御できます。
+
+ +

詳しくは {{domxref("console")}} のドキュメントで、コンソールにテキストを出力する をご覧ください。

+ +

仕様

+ + + + + + + + + + + + + + + + +
仕様書策定状況コメント
{{SpecName("Console API", "#consoleinfoobject--object-", "console.info()")}}{{Spec2("Console API")}}最初期の定義
+ +

ブラウザ実装状況

+ +

{{Compat("api.Console.info")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf