diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-06-20 00:29:11 +0900 |
---|---|---|
committer | potappo <potappo@gmail.com> | 2021-06-21 23:09:03 +0900 |
commit | e96aa573d55cb3802ea34d0cae8a22f5bf95ce89 (patch) | |
tree | b37ec134770cfe7b272baabe5f1ed8d694999518 /files/ja/web | |
parent | c43ef332c9395963ad974bcf8850bdac79f7c55c (diff) | |
download | translated-content-e96aa573d55cb3802ea34d0cae8a22f5bf95ce89.tar.gz translated-content-e96aa573d55cb3802ea34d0cae8a22f5bf95ce89.tar.bz2 translated-content-e96aa573d55cb3802ea34d0cae8a22f5bf95ce89.zip |
Update files/ja/web/javascript/reference/errors/in_operator_no_object/index.html
Co-authored-by: potappo <potappo@gmail.com>
Diffstat (limited to 'files/ja/web')
-rw-r--r-- | files/ja/web/javascript/reference/errors/in_operator_no_object/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/javascript/reference/errors/in_operator_no_object/index.html b/files/ja/web/javascript/reference/errors/in_operator_no_object/index.html index 08ef44d836..f1dc299993 100644 --- a/files/ja/web/javascript/reference/errors/in_operator_no_object/index.html +++ b/files/ja/web/javascript/reference/errors/in_operator_no_object/index.html @@ -36,7 +36,7 @@ TypeError: cannot use 'in' operator to search for 'x' in 'y' (Firefox, Chrome) <pre class="brush: js example-bad">"Hello" in "Hello World"; // TypeError: cannot use 'in' operator to search for 'Hello' in 'Hello World'</pre> -<p>Instead you will need to use {{jsxref("String.prototype.indexOf()")}}, for example.</p> +<p>ここでは代わりに {{jsxref("String.prototype.indexOf()")}} を使う必要があります。 </p> <pre class="brush: js example-good">"Hello World".indexOf("Hello") !== -1; // true</pre> |