JavaScript Logic Challenges

Improve your problem-solving and core JavaScript skills with these logic-based challenges:

Palindrome Checker
Write a function to check if a string reads the same backward as forward.
FizzBuzz
Classic logic problem to print numbers with special rules for multiples of 3 and 5.
Anagram Validator
Create a function that checks whether two strings are anagrams.
Factorial Calculator
Write a function that calculates the factorial of a number using recursion.
Array Flattener
Flatten a deeply nested array using recursion or iterative logic.