Medium
The following code displays: 1.86. What can be said about line 2?
let spy = new Identity ('James','Bond',50,1.86);
spy.giveHeight();
Edit
0
Community Evaluations
Ronan
29/01/2024
On est plus sur un niveau intiation qu'expert, l'instantiation d'une classe, l'accÚs à une méthode, la terminologie associée sont tous des éléments qu'on voit en introduction au JS ou à la POO
Similar QuestionsMore questions about Javascript
32
Understanding the differences between `map()` and `forEach()` methods in JavaScript20
Write a JavaScript function that fetches data from an API and logs it to the console.11
Fix the following Javascript loop:8
The certificate variable is not attainable outside the if loop6
Use spread operator to split an array into two arrays in Javascript