Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How can we create an object in JS?
Home
JavaScript
How can we create an object in JS?
asked
Jul 16, 2019
in
JavaScript
by
Indian
How can we create an object in JS?
#java-script
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 16, 2019
by
Indian
var object = { name: "obj", age: 10 };
Related questions
+2
votes
Q: How to create an array in js and how to read array elements?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+1
vote
Q: How to add/remove properties to object dynamically in Javascript?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+2
votes
Q: How can you move element in lowercase to uppercase from an array?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+3
votes
Q: I want to re-reach and use an object once it has been garbage collected. Define How it’s possible in Java?
asked
May 31, 2020
in
JAVA
by
SakshiSharma
#java-research
#java-garbage-collect
#java-define
#java-script
#java-games
#games-java
Java-questions-answers
0
votes
Q: What is an object ?
asked
Jun 16, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
+2
votes
Q: How to add one new element at end of an array in javascript?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+2
votes
Q: How to define an anonymous function?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+1
vote
Q: How to create an object in EXT JS?
asked
Aug 17, 2020
in
JavaScript
by
RShastri
#extjs
+1
vote
Q: Which built-in method reverses the order of the elements of an array?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+1
vote
Q: Which built-in method sorts the elements of an array?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+1
vote
Q: Can we have more than one package statement in source file ?
asked
Jun 17, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-question
#java-interview-question
Java-questions-answers
+1
vote
Q: Can we have multiple classes in single file ?
asked
Jun 17, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
0
votes
Q: What are constants and how to create constants in java?
asked
Jun 16, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
+1
vote
Q: How Do You Refer To The Main Browser Window That Opened It?
asked
Dec 4, 2019
in
JavaScript
by
SakshiSharma
#java-script
+1
vote
Q: How to redirect a page to another page in Javascript?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
...