const ciclos = [{num:1, quality: "poor"},
{num:2, quality: "normal"},
{num:3, quality: "excelent"},
]
I have this object array and I want to get the numbers of "num" to make some operations.
I thought that trying this, but doesn´t worked.
function add() {
let result = 1 * ciclos.num[1];
console.log(result);
}
add()
Im looking forward to get that number and use it.
Thanks in advance!