Skip to content

Hafiz-hammad/js-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

JavaScript Practice Functions

This repository contains several JavaScript functions that demonstrate basic programming concepts such as arrays, string manipulation, prime number checking, and more. image

Description

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.

Functions Overview

1. Even and Odd Number Filter (myFunction)

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.

Releases

No releases published

Packages

No packages published

Languages