From b8484c2ee90de7ce5b451da19bee864b06d3675e Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sat, 17 Apr 2021 00:31:36 +0900 Subject: Web/JavaScript/Reference/Global_Objects/Boolean/toSource を更新 (#404) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2021/02/20 の英語版に同期 --- .../global_objects/boolean/tosource/index.html | 58 ++++++++++------------ 1 file changed, 26 insertions(+), 32 deletions(-) (limited to 'files/ja/web') diff --git a/files/ja/web/javascript/reference/global_objects/boolean/tosource/index.html b/files/ja/web/javascript/reference/global_objects/boolean/tosource/index.html index e848f174ef..1ebb3adbd5 100644 --- a/files/ja/web/javascript/reference/global_objects/boolean/tosource/index.html +++ b/files/ja/web/javascript/reference/global_objects/boolean/tosource/index.html @@ -2,55 +2,49 @@ title: Boolean.prototype.toSource() slug: Web/JavaScript/Reference/Global_Objects/Boolean/toSource tags: - - Boolean - - JavaScript - - Method - - Non-standard - - Prototype +- Boolean +- Deprecated +- JavaScript +- Method +- Non-standard +- Obsolete +- Prototype translation_of: Web/JavaScript/Reference/Global_Objects/Boolean/toSource --- -
{{JSRef}} {{non-standard_header}}
+
{{JSRef}} {{deprecated_header}}
-

toSource() メソッドはオブジェクトのソースコードを表す文字列を返します。

+

toSource() メソッドは、オブジェクトのソースコードを表す文字列を返します。

-

構文

+

構文

-
booleanObj.toSource() Boolean.toSource()
- -

戻り値

+
booleanObj.toSource()
+	Boolean.toSource()
+ +

返値

オブジェクトのソースコードを表す文字列です。

-

説明

- -

toSource メソッドは以下の値を返します。

- - +

-

このメソッドはたいてい JavaScript によって内部的に呼び出され、コードで明示的に呼び出されることはありません。

+

ネイティブ関数

-

仕様

+

組み込みの {{jsxref("Boolean")}} オブジェクトでは、 toSource はソースコードが利用できないことを示す以下の文字列を返します。

-

いずれの標準仕様にも組み込まれていません。JavaScript 1.3 で実装されました。

+
function Boolean() {
+    [native code]
+}
+
-

ブラウザー実装状況

+

仕様書

-
+

いずれの標準仕様にも組み込まれていません。

+

ブラウザーの互換性

{{Compat("javascript.builtins.Boolean.toSource")}}

-
-

関連情報

+

関連情報

-- cgit v1.2.3-54-g00ecf