How do you pass an argument into an inherited method?
interactiveElement.prototype.moveTowards = function(target){
console.log(target);
}
projectile.prototype.fire = function(target){
interactiveElement.prototype.moveTowards.call(this); //how do I pass target
}
getting error: Uncaught TypeError: Cannot read property '0' of undefined