I’ve been working through the function section of JS. The function decleration in the IDE is not working correctly IMO. It is requiring the functionName to be Capitalized FunctionName and camelCase is required to pass the challenge.
Write Reusable JavaScript with Functions (Used in the Example Below)
What I believe is the Correct Answer:
function reusableFunction(){
console.log("Hi World");
}
reusableFunction();
What was able to pass the parameters:
function reusableFunction(){
console.log("Hi World");
}
function ReusableFunction(){
console.log("Hi World");
}
reusableFunction();
ReusableFunction();
Passing Values to Functions with Arguments
(Also having the same issue with the function name needing to be capitalized, this would be ok if the parameters required to pass was not a function name of functionWithArgs)
Edited