You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I'm not surprised that there are issues like that. I added the function syntax for the AP CSP demos, but I don't use them anywhere in Intro to JS since I think there'd also be issues with the coding challenge auto-grader. It would need to be done in a more sophisticated manner than my quick approach. I'll leave this issue open. But generally, I would suggest folks sticks with the var syntax for the best chance of things working.
variable declaration expressions such as:
result in the expected output with
KAInfiniteLoopProtect
while function declarations such as
do not
repro here:
https://www.khanacademy.org/computer-programming/func-decl-vdecl-without-loop-safety/5771192026742784
The text was updated successfully, but these errors were encountered: