// Exercise One: In this exercise you are given an object called 'mathHelpers'
// Within mathHelpers, create a method called 'double'
// This method should take one parameter, a number,
// and it should return that number multiplied by two.
function exerciseOne(){
let mathHelpers = {
// Create double method in here.
}
}
};
return mathHelpers;
}
ill defently do it my self, but in order to use a method in this case, doesnāt there have to be a key:value within the object to use methods? cuase here it isnāt asking for key:value
yeah sorry im just trying to get as much advice as possible about methods, since im having a hard time finding info about how methods are used in my situation