Registrarse
Iniciar Sesión
 meteorJS
Funciones y métodos para el tratamiento de strings en JavaScript. Contestar las preguntas teniendo en cuenta el siguiente código:var texto = "EXAMEN DE JAVASCRIPT";
var texto = "EXAMEN DE JAVASCRIPT";
1. texto.length
2. texto[3]
3. texto.indexOf("JAVASCRIPT")
4. texto.substring(7,9)
5. texto.substr(7,2)
6. texto.toLowerCase()
texto.toLowerCase()
7. La expresión texto.split(" ") devuelve un arreglo con los siguientes valores: ["EXAMEN", "DE", "JAVASCRIPT"]
texto.split(" ")
["EXAMEN", "DE", "JAVASCRIPT"]
8. texto.charAt(0)
texto.charAt(0)