This repository contains several JavaScript functions that demonstrate basic programming concepts such as arrays, string manipulation, prime number checking, and more.
Each function in this project showcases a specific task, such as filtering even and odd numbers, checking if a string is a palindrome, generating Fibonacci sequences, and more. These examples are great for beginners looking to understand fundamental JavaScript operations.
Filters an array of integers into even and odd numbers.
- Input: List of integers from 1 to 20.
- Output: Two arrays: one with even numbers and one with odd numbers.