- 3
What is the output of this code Varx=(1+2)*3; console. log (×);
Help me this is a question of javi game developers
4 Antworten
+ 1
If by Varx you mean:
var x = (1+2)*3;
console.log(x);
// The console will output 9
/* if not, the console outputs a Reference Error; because x is not defined in the program. */
+ 1
Go to the code section
Press the new code button
Select Node.js
Paste the code in there
Click run to see the output
+ 1
Divyansh Tiwari
(1 + 2) * 3 = ?
+ 1
Go to "Code" section, tap "+" (New code), select language, save as "Public", paste the code and tap "Run".
If the results bring you questions, ask them, with:
1. An explanation of your difficulties in the question description
2. A link to your code in Code Playground (use "+" button) in the description
3. An explanation of what is the purpose of your code in the question description
4. One and only one tag with the language name
Make sure you open the way for those willing to help - we are many.