I recently received a code to program a logic for and I have successfully figured out my algorithm. However, I am facing difficulty determining the datatype of a particular declaration. My task involves comparing the values of "skills" in each row to 'JavaScript' and if it is true, then performing a specific task. The problem lies in accessing the value of skills itself. What datatype does this declaration hold and how can I access its values?
I have attempted to access the values using both the row/column format typical of tables and arrays, but so far, nothing has worked. If you need to add/remove rows from this table,
const newCandidates = [
{ name: "Kerrie", skills: ["JavaScript", "Docker", "Ruby"] },
{ name: "Mario", skills: ["Python", "AWS"] }
];