write a program in js to print student list with courses and score
program explanation:
first ask student name & course1 & score of course1 from user.
then ask if student have more courses?
if yes add another course with score
if not ask user if new student needed
if yes define new student with his cources and score and add to student list
if not print student list;
i write following code but it works only work for one student.
how to create a function to search through an array using certain object property?
so I have created an object for shoes and push all of them to an array. I am trying to create an function to search the array using a specific object property for a specific sheo. however I am struggling to figure out how to write the code for the function to search for a certain pair of shoes you want to find. I have tried using searching for indexes but it logs undefinded