How to remove/delete a specific element from an array with as index a string instead of numbers? this is my code:
workout.program = new Array();
workout.program["first"] = new Array();
workout.program["first"]["time"] = 10;
workout.program["first"]["speed"] = "medium";
workout.program["first"]["slope"] = 0;
So it's about a 2d Array, and i want to delete everything which is under program["first"] including to delete that Array. How to do this in pure JavaScript without JQuery?