diff options
-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> |