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
What Does "1"+2+4 Evaluate To?
Home
JavaScript
What Does "1"+2+4 Evaluate To?
+1
vote
asked
Dec 4, 2019
in
JavaScript
by
SakshiSharma
What Does "1"+2+4 Evaluate To?
#javascript-evaluation
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 4, 2019
by
rajeshsharma
Since 1 is a string, everything is a string, so the result is 124.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What's the output? let newList = [1, 2, 3].push(4); console.log(newList.push(5));
asked
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? [1, 2, 3, 4].reduce((x, y) => console.log(x, y));
asked
Mar 10
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const numbers = [1, 2, 3, 4, 5]; const [y] = numbers; console.log(y);
asked
Mar 9
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const set = new Set([1, 1, 2, 3, 4]); console.log(set
asked
Mar 9
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const obj = { 1: 'a', 2: 'b', 3: 'c' }; const set = new Set([1, 2, 3, 4, 5]);
asked
Feb 26
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: Which one of the following methodologies does least impact the establishment of DevOps methodology? 1: Lean Manufacturing. 2: Agile Software Delivery. 3: Waterfall Software Delivery. 4: Continuous Software Delivery.
asked
Feb 27, 2021
in
DevOps
by
JackTerrance
devops
+1
vote
Q: You can upgrade to CDH 4.1.2 and higher from within the Cloudera Manager Admin Console using parcels.
asked
Feb 3, 2022
in
Cloudera Rudiments
by
sharadyadav1986
cdh
cloudera-manager-admin
+1
vote
Q: A 4-input neuron has weights 1, 2, 3 and 4. The transfer function is linear with the constant of proportionality being equal to 2. The inputs are 4, 10, 5 and 20 respectively. What will be the output?
asked
Oct 22, 2021
in
Artificial Intelligence
by
DavidAnderson
artificial-intelligence
other-ai-algorithms-&-statistics-artificial
intelligence-algorithms
+1
vote
Q: create matrix 2 * 2 with value ranging from 1 to 4
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
0
votes
Q: Which of the following are valid examples of business value measures? 1: Customer retention 2: Time to market 3: Service Architecture 4: Market share
asked
Feb 14, 2020
in
Agile
by
matthenary
...