Skip to content
#

freecodecamp-javascript

Here are 62 public repositories matching this topic...

Design a cash register drawer function checkCashRegister() that accepts purchase price as the first argument (price), payment as the second argument (cash), and cash-in-drawer (cid) as the third argument.

  • Updated Mar 20, 2023
  • JavaScript

Given the array arr, iterate through and remove each element starting from the first element (the 0 index) until the function func returns true when the iterated element is passed through it. Then return the rest of the array once the condition is satisfied, otherwise, arr should be returned as an empty array

  • Updated Mar 20, 2023
  • JavaScript

Return true if the given string is a palindrome. Otherwise, return false. A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.

  • Updated Mar 20, 2023
  • JavaScript

Improve this page

Add a description, image, and links to the freecodecamp-javascript topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the freecodecamp-javascript topic, visit your repo's landing page and select "manage topics."

Learn more