var james = { job: "programmer", married: false, sayJob: function() { // complete this method console.log("Hi, I work as a " + this.job); } }; // james' first job james.sayJob(); // change james' job to "super programmer" here james.job = "super programmer"; // james' second job james.sayJob(); For some reason, I don't see console.log() printing the data. This is one of the lessons on the codecademy, and the built-in interpreter shows nothing. Checked on another site - also nothing. Does anyone know what is the matter?


codeacademyworking ...... and in another editor it is written that in order to output the data you need to usewriteandwritelnthat is, this is your mistake and oversight - Alexey Shimanskyconsole.logagain in any lesson. Should work. If it does not work, then you can open the browser console and see what happens there, maybe there are some errors there. In this case, representatives of the school (codeacademy) can show that something has broken. But I think it was something short - Alexey Shimansky