Fixes minor typo (#34326)

"should not be be" changed to "should not be"
This commit is contained in:
Ariel
2018-11-28 13:58:48 -07:00
committed by mrugesh mohapatra
parent b858dc9db1
commit 2f23fb544d

View File

@ -13,7 +13,7 @@ The reason why you might want to use one type of quote over the other is if you
However, this becomes a problem if you need to use the outermost quotes within it. Remember, a string has the same kind of quote at the beginning and end. But if you have that same quote somewhere in the middle, the string will stop early and throw an error.
<blockquote>goodStr = 'Jake asks Finn, "Hey, let\'s go on an adventure?"'; <br/>badStr = 'Finn responds, "Let's go!"'; // Throws an error</blockquote>
In the <dfn>goodStr</dfn> above, you can use both quotes safely by using the backslash <code>\</code> as an escape character.
<strong>Note</strong><br/>The backslash <code>\</code> should not be be confused with the forward slash <code>/</code>. They do not do the same thing.
<strong>Note</strong><br/>The backslash <code>\</code> should not be confused with the forward slash <code>/</code>. They do not do the same thing.
</section>
## Instructions