V School | Better Humans, Better Outcomes

Disemvoweling

Create a function that removes all vowels and spaces from a string. The function should then return the result as an object with two keys "consonants" and "vowels". Example const input = "Pickle Rick!" function disemvoweling(string){ } disemvoweling(input) // Output: // { // consonants: "pcklrck!", // vowels: "iei" // }

Game of Threes

Write a recursive function that takes two integers, n and counter as parameters and does the following: 1. If the n is divisible by three, divide it by three and call the function again, providing the new value as n and counter + 1 as counter 2. If not, either add

Matching Words

You are a treasure hunter and you have found a cave that you believe holds hidden treasure. Several miles down this cave, you run into a wall with the following inscription: "Banh mi pull skateboard ipsum lorem, kombucha scenester banjo. Franzen mlkshk consequat, PBR&B lever lever listicle irony pop-up

TDD vs BDD

TDD TDD stands for Test Driven Development. It works like this, you decided what this section of your software does, and before you write the code for that section you write a set of tests to verify that it would work as you expect. So your writing what your program

How to make your own testing framework

Although there a lot of testing frameworks out there it's not actually that difficult to write your own and it's a great way to understand how to write better unit tests. Before we get into this make sure to complete the try and catch basics. https://coursework.vschool.io/unit-testing-javascript/

V School | Better Humans, Better Outcomes © 2026