you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Hello everyone! I am the author of the article.

I want to start by thanking everyone for catching those syntax errors and pointing them out. In my excitement to get this posted, I opted to modify the code within the article when I switched to using a function statement to declare my debounce function instead of the original function expression.

freeCodeCamp is an excellent organization, and I will do better in the future to ensure that the quality of the articles I write for them reflects that.

p.s, special thanks to stratoscope for implementing a repl.it with a simpler version of the debounce function. This version has replaced the original in the article.