+ 1
Problem with Javascript
Hi I need to known it is possible to custom a variable name like that : let prompt() = prompt() console.log(firstpromptresult); Please help me
2 ответов
+ 6
Nickels (formerly Hi"-") ,
> issue 1:
let prompt() = prompt();
this syntax is invalid. we can not assign a value to a function name (built-in function from javascript)
> issue 2: undefined variable
console.log(firstpromptresult);
the variable `firstpromptresult` is not declared or initialized in the code.
>> it would be good idea if you can give us a more helpful description what you are going to achieve.
weak questions results in weak answers ...
0
Lothar i said "it is possible to custom the name of a vale with a prompt()"