Answer:
b. getCost
Step-by-step explanation:
Javascript is a multi-purpose programming language, used in applications like web development, software development and embedded system programming, data visualization and analysis, etc.
Its regular syntax defines variables with the "var" keyword and with additional ecmascript rules, the "let" and "const" keywords as well. function definition uses the keyword "function" with parenthesis for holding arguments. The code block of a function is written between two curly braces and returns a value stored in a variable with the return keyword.
The variable can now be called with the parenthesis and required arguments. Note that only anonymous functions can assigned to a variable.