IT quiz
All questions
Sign in
Sign up
JavaScript
HTML
CSS
PostgreSQL
PHP
Linux
Git
Docker
SCSS
TypeScript
SQL
Vue
DNS
Go
frontend (web)
Redis
backend
Gitlab
CI/CD
Vite
webpack
Node.js
HTTP
Python
Kotlin
Nuxt
Question #109
Author:
admin
tags:
JavaScript
console.log(5 + /* 5 */ 5);
What will the console output be?
0.2
5
10
15
555
Nothing. There will be an error.
Answer
Show explanation
/* */
is a syntax for creating multiline comment.
Such a comment can even be inserted inside an expression.
Rate the difficulty of the question:
1
2
3
4
5
6
7
8
9
10
easy
hard
←
Previous question
Next question
→
Write new comment