Is my hypothesis of how I add a property to an object correct?


I wanted to confirm if this is how I add a property to an object.

let Airplane = {};
Airplane.myAirplane="StarJet";/// Is this how you add a property to an object?

Click Here for exercise


Yes it is correct
You could have done this in your browser’s console to check if it was correct


why would you want to export a file? I’m just trying to get clarification about why I’m learning about export


help here too please. I’m trying to understand how I am writing this wrong


nevermind I see the use of export now :slight_smile:


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