<sectionid="description"> En JavaScript, cuando el operador <code>+</code> se usa con un valor de <code>String</code> , se llama operador de <dfn>concatenación</dfn> . Puede construir una nueva cadena a partir de otras cadenas <dfn>concatenándolas</dfn> juntas. <strong>Ejemplo</strong><blockquote>'Mi nombre es Alan,' + 'Concatené'. </blockquote><strong>Nota</strong><br> Cuidado con los espacios. La concatenación no agrega espacios entre las cadenas concatenadas, por lo que deberá agregarlas usted mismo. </section>
<sectionid="instructions"> Construye <code>myStr</code> partir de las cadenas <code>"This is the start. "</code> y <code>"This is the end."</code> utilizando el operador <code>+</code> . </section>
- text: <code>myStr</code> debe tener un valor de <code>This is the start. This is the end.</code>
testString: 'assert(myStr === "This is the start. This is the end.", "<code>myStr</code> should have a value of <code>This is the start. This is the end.</code>");'
- text: Usa el operador <code>+</code> para construir <code>myStr</code>
testString: 'assert(code.match(/([""]).*([""])\s*\+\s*([""]).*([""])/g).length > 1, "Use the <code>+</code> operator to build <code>myStr</code>");'