Thursday , September 19 2024

We declare a movie object, with two fields: title and year: let movie = { title: “aga”, year: 2018 }; To change the value of the title field to ”Ága” we need to perform:

Questions BankCategory: JavaScript Essentials 1We declare a movie object, with two fields: title and year: let movie = { title: “aga”, year: 2018 }; To change the value of the title field to ”Ága” we need to perform:
We declare a movie object, with two fields: title and year:

let movie = {
    title: "aga",
    year: 2018
};

To change the value of the title field to "Ága" we need to perform:

  • movie.title = "Ága";
  • movie{title} = "Ága";
  • title->movie = "Ága";
  • movie[title] = "Ága";

More Questions: JavaScript Essentials 1 – JSE1: Final Test