Introduction to objects II / lesson 20 code seem good but can't pass throught


#1

hello here is my code which works in the console but i still have an error message telling me that the Empereur constructor is wrong so i can't pass this exercise and i don't see what i've done wrong
thanks for helping


#2

@je22,
Try to use

var empereur = new Empereur("toto");

( using a lowercase variable-name )

otherwise please provide the link to the exercise.....


#3

thank a lot again you've help me it has worked fine


#4

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