si la declaración no respeta el carácter '"' entre comillas:
Estoy intentando esta declaración if:
if((character === ' ' && currentlyFormingPhrase.length === 0) || (character === '"' && currentlyFormingPhrase.length === 0))incluso variaciones como esta:
if((character === ' ' && currentlyFormingPhrase.length === 0) || (character === '\"' && currentlyFormingPhrase.length === 0)) if((character === ' ' && currentlyFormingPhrase.length === 0) || (character === "'" && currentlyFormingPhrase.length === 0)) if((character === ' ' && currentlyFormingPhrase.length === 0) || (character === "\'" && currentlyFormingPhrase.length === 0))no trabajes...
Todavía obtengo resultados como este:
"” and that being around good people"Pero yo necesito:
"and that being around good people"Estoy iterando a través de cada carácter, pero eso no importa para la pregunta ...