Update function-declarations.html

Correct sentence, function x(){} is not antipattern, it's used and recommended by w3c, mdn, and others