didnt work | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 1

didnt work

I checked both letters and underscores, but it said it was wrong. I then tried all combinations then went back to underscore and letters didnt work then either. The third time i tested it it worked

18th Oct 2017, 6:38 AM
Efraim Bring
Efraim Bring - avatar
1 Respuesta
+ 18
/* what did you do? where's the code post it for diagnosis. below code has some variable names they work correctly. copy paste this in JS for test. check below links for info on valid variable names https://mathiasbynens.be/notes/javascript-identifiers Valid JavaScript variable names in ECMAScript 5 · Mathias Bynens https://mothereff.in/js-variables JavaScript variable name validator https://stackoverflow.com/questions/1661197/what-characters-are-valid-for-javascript-variable-names What characters are valid for JavaScript variable names? - Stack ... */ 'use strict'; const co = console.log; var v = "why, what didn't work?"; var _a = alert ; var _a23 = 'bad name write something better'; var promptshh = prompt; co("variableshh..."); _a(v); co(_a23)
18th Oct 2017, 6:51 AM
Lord Krishna
Lord Krishna - avatar