// Declare calculating functions
let add = function(a, b) {
return a + b
};
let divide = function(a, b) {
return a / b;
};
let subtract = function(a,b) {
return a - b;
}
// declare function to recieve args to to pass to callback function
let calcFunc = function(num1, num2, callback) {
return callback(num1, num2);
};
console.log(calcFunc(23, 89, subtract));// specify args + callback function name