Question from the Javascript - Fundamentals test

Create an object of type Recipe

Archived

What keyword should I enter to create an object ''pesto_pasta'' of type Recipe?

let pesto_pasta =? (('pasta', 500, 'g'), ('pesto', 100, 'g')); 
Author: KahinaStatus: Archived(New question!)Question passed 1567 times
0
Community Evaluations
developer avatar
Dragon parfait
30/07/2024
Y'a un gros problĂšme de traduction
developer avatar
Afonso
06/04/2023
To create an object pesto_pasta of type Recipe, you need to use the new keyword followed by the name of the constructor function Recipe.
developer avatar
Auteur anonyme
19/07/2024
La bonne réponse est alors la réponse 2? Si c'est cela il y a un problÚme car j'ai indiqué la réponse 2 et on me dit mauvaise réponse
developer avatar
Incorrect answer
Luke Farrell
30/07/2024
Requires new Class - this is an incorrect answer.
developer avatar
Incorrect answer
Auteur anonyme
20/07/2024
incorrect anwser,its new recipe