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
The following code implements the ______ feature of ES6 function myFunction(x, y, z) { } var args = [0, 1, 2]; myFunction(...args);
Home
ECMAScript
The following code implements the ______ feature of ES6 function myFunction(x, y, z) { } var args =...
0
votes
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
The following code implements the ______ feature of ES6
function myFunction(x, y, z) { }
var args = [0, 1, 2];
myFunction(...args);
(1)sets
(2)spread
(3)rest
(4)maps
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 21, 2020
by
GeorgeBell
spread
Related questions
0
votes
Q: What will be the output of the following code snippet in ES6? const func= ( x, y ) => { return x + y; }; func(11,12);
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
+3
votes
Q: 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
#r-language
#r-programming
#r-course
#r-tutorial
#r-question-answer
#r-interview-question
#r-basics
#r-test
#what-is-r
#learn-r
+1
vote
Q: Code A: var x = 10; y = --x + 1;
asked
Feb 6, 2020
in
JavaScript
by
rajeshsharma
#javascript-code
0
votes
Q: _______________ vectors are vectors of length 1 pointing in each of the (x,y,z) axes respectively.
asked
Jan 23, 2020
in
Linear Algebra
by
AdilsonLima
vectors-length
0
votes
Q: mystery_method <- function(x) { function(z) Reduce(function(y, w) w(y), x, z) }
asked
Jun 15, 2023
in
R Basics
by
john ganales
r-function
0
votes
Q: " var jarvis = function (x: number, y?: number): number {} " showcases _________.
asked
Jan 27, 2020
in
TypeScript - JavaScript's Superset
by
AdilsonLima
typescript
typescript-frescoplay
javascript-interview-questions
typescript-programming-questions
typescript-practice-problems
typescript-interview-questions-github
typescript-tutorial
typescript-quiz
angular-interview-questions
typescript-interview-questions-and-answers-2022
0
votes
Q: 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
0
votes
Q: A material have a stress strain curve which can look similar to the equation y = x^2 (for all x>0). True or False?
asked
Oct 5, 2021
in
Class-XI-PHYSICS
by
Sandeepthukran
cbse
0
votes
Q: 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
0
votes
Q: 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
...