
Quiz reinforcement
Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
mehdi khalil
Used 2+ times
FREE Resource
Enhance your content
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Que retourne la ligne suivante ?
[...'hello']
"hello"
['hello']
['h', 'e', 'l', 'l', 'o']
undefined
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Que fait l’opérateur rest dans :
function sum(...nums) { return nums.length; }
Il clone le tableau
Il regroupe tous les arguments dans un tableau
Il fusionne deux objets
Il renvoie la somme
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quelle est la différence entre var et let ?
var a un scope de bloc
let a un scope global
Elles sont identiques
var a un scope fonction, let un scope bloc
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Que donne :
const {a, b=2} = {a: 5};
a=5, b=undefined
a=undefined, b=2
a=5, b=2
a=2, b=5
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Comment fusionner deux tableaux arr1 et arr2 avec spread ?
arr1.merge(arr2)
[arr1, arr2]
arr1.push(...arr2)
[...arr1, ...arr2]
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quelle est la valeur de this dans une arrow function ?
L’objet appelant
Elle hérite du this de son contexte parent
L’objet global
Toujours undefined
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quelle est la sortie ?
[1,2,3].map(n => n*2);
[2,4,6]
[1,4,9]
[2,3,4]
[4,8,12]
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade