Web Technologies
Android
Angular
BootStrap
ECMAScript
HTML
Image Processing
JavaScript
MVC
Onsen UI
React JS
SOAP UI
Vue.js
Cloud/DevOps Technologies
Amazon EC2
Ansible
Augmented Reality
AWS
Azure
Big Data
Cache Teachniques
Cassandra
Commercial Insurance
Cloud
CD
CI
Data Handling
Data using R
Data Science
DevOps
Gradle
Hadoop
HBase
HDFS
Hive
IOT
Jenkins
Machine Learning
MangoDB
NGINX
SOAP UI
Latest Technologies
5G Network
Agile
Android
Arduino
Augmented Reality
Commercial Insurance
C#
C++
Cyber Security
Data Handling
Data using R
Data Science
DBMS
Design-Pattern
Fortify
Ethical Hacking
Framework
GIT
GIT Slack
Image Processing
Java
Jenkins
Jira
JUnit
Kibana
Linux
MangoDB
Oracle
PHP
Python
QTP
R Language
Regression Analysis
Robotic
Salesforce
SAP
Selenium
Service Discovery
Service Now
Spark SQL
Testing
TOGAF
Research Method
Virtual Reality
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 will be the output of the following code snippet in ES6? const func= ( x, y ) => { return x + y; }; func(11,12);
Home
ECMAScript
What will be the output of the following code snippet in ES6? const func= ( x, y ) => { return x +...
0
votes
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
(
4.5k
points)
What will be the output of the following code snippet in ES6?
const func= (
x,
y
) => {
return x + y;
};
func(11,12);
(1)None of the options
(2)Syntax Error
(3)23
(4)Logical Error
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 21, 2020
by
GeorgeBell
(
4.5k
points)
23
Related questions
0
votes
Check the Below code and check correct or not const { x, y } = { x: 11, y: 8 }; is the Same as const { x: x, y: y } = { x: 11, y: 8 };
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
(
4.5k
points)
0
votes
The following code implements the ______ feature of ES6 function myFunction(x, y, z) { } var args = [0, 1, 2]; myFunction(...args);
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
(
4.5k
points)
0
votes
What will be the output of following code snippet? function foo(a = 10, b = 5) { console.log(a, b); } foo(6);
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
(
4.5k
points)
0
votes
What is the significance of the following code snippet? for (let i = 0; i < 10; i++) { x += 10; }
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
(
4.5k
points)
0
votes
What will be printed if the following code is executed? let x=150; if(x>100) { x=1; } console.log(x);
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
(
4.5k
points)
+3
votes
Two vectors X and Y are defined as follows – X <- c(3, 2, 4) and Y <- c(1, 2). What will be output of vector Z that is defined as Z <- X*Y.
asked
Jul 28, 2019
in
R Language
by
Aarav2017
(
359
points)
#r-language
#r-programming
#r-course
#r-tutorial
#r-question-answer
#r-interview-question
#r-basics
#r-test
#what-is-r
#learn-r
0
votes
What will be the output of the following Java code snippet?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
(
30.6k
points)
java
program
0
votes
What will be the output of below Gradle code snippet?
asked
Jun 21, 2020
in
Gradle
by
Robindeniel
(
19.9k
points)
#gradle-code-snippet
#gradle-code
#code-snippet-gradle
Gradle-questions-answers
0
votes
what will following lines of code return x<-matrix(1:18,6,3)____-
asked
Jun 7, 2019
in
Data Handling using R
by
tempuser
(
391
points)
#datahandling
0
votes
What will the following lines of code return x <- matrix(1:18, 6, 3) apply(x, 2, sum)
asked
May 27, 2019
in
Data Handling
by
tempuser
(
391
points)
#datahandling
DataHandling-questions-answers
...