Sobes.tech
Intern — Middle

Getting the property value of an object

livecode

Task condition

There is an object obj containing a numeric field. It is required to extract the value of property a.

const obj = {
  a: 1,
};