Java script/ Introduction to Objects I/ 32 customised objects


#1


Java script/ Introduction to Objects I/ 32 customised objects
https://www.codecademy.com/fr/courses/javascript-beginner-fr-FR/5/3?curriculum_id=5355c2b7516bcbd912000008

I'm getting this error message :
Oups, merci de réessayer. Avez-vous crée le nouveau avec l'objet Livre ? (Fr)
Oops, please try again. Did you create the new with the Livre Object ? (Eng)
this is the correct translation of the message from french to english. The message look like incomplete. Anyway, i can't figure out why i'm getting any error message.


var harry_potter = new Object();
harry_potter.pages = 350;
harry_potter.auteur = "J.K. Rowling";


function Livre(pages, auteur) {
    this.pages = pages;
    this.auteur = auteur;
}

var le_hobbit = new Livre(320,"J.R.R. Tolkien");


#2

Salut c'est un bug mais tu peux trouver la solution dans cette discusion (le troisieme post)
https://www.codecademy.com/en/forum_questions/548ff65be39efe11aa000d62


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.