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 #50
Author:
admin
tags:
JavaScript
1) Can an object have a property named
$
?
2) Can an object have a property named
.
?
3) Can an object have a property named
!!
?
1) Yes 2) Yes 3) Yes
1) Yes 2) Yes 3) No
1) Yes 2) No 3) Yes
1) Yes 2) No 3) No
1) No 2) No 3) No
1) No 2) Yes 3) No
1) No 2) Yes 3) Yes
1) No 2) No 3) Yes
Answer
Show explanation
The object property name can be a string or a symbol.
The string can contain any string characters: !;"%:?*_, etc.
Accordingly, all of them can be object property names.
Rate the difficulty of the question:
1
2
3
4
5
6
7
8
9
10
easy
hard
←
Previous question (JavaScript)
Next question (JavaScript)
→
Write new comment