Abdelmagidawad / Built-In-Functions

Implementation to built in functions using JavaScript & C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Built-In Functions

This repository contains custom implementations of various built-in functions in JavaScript and C++. These implementations aim to mimic the functionality of standard built-in functions to help understand their inner workings and usage.

Implemented Functions

  1. cleanString(str): Cleans the string by removing any digits and symbols.
  2. inArray(arr, target): Checks if a target number exists in an array.
  3. isNaNCustom(value): Tests if a value is Not a Number.
  4. joinElements(arr, separator): Joins all elements of an array into a string.
  5. lengthString(str): Calculates the length of a string.
  6. minimumNumber(arr): Returns the minimum number in an array.
  7. maximumNumber(arr): Returns the maximum number in an array.
  8. parseInteger(str): Parses a string and returns an integer.
  9. stringRepeat(str, times): Repeats a string a given number of times.
  10. stringReverse(str): Reverses the elements of a string.
  11. stringToArray(str): Converts a string to an array of characters.

Contributing

Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.

About

Implementation to built in functions using JavaScript & C++


Languages

Language:JavaScript 47.6%Language:C++ 45.3%Language:HTML 7.1%