Hallpass Academy
Categories
Series
Eclectic series of coding and problem solving challenges to keep you sharp.
Challenge
found 7 post(s)
Necessity is the Mother of Invention
Generate Type from Dictionary
How I discovered a cool little tip on creating string literal union types from dictionaries, and why it matters.
by Gail Johnson * Feb. 09, 2026
Typescript, Notes, Challenge
Interfaces, Method Overloading, and Implementing these Interfaces
Typescript Method Overloading
Why do we need method overloading when we can create a general method signature using union parameter types? Let's find out.
by Robert Banning * Oct. 01, 2024
Typescript, Challenge
Exercise in Typescript Typing
Typescript Object Keys and Values
At first, this will seem an easy challenge as part one can be accomplished with basic Javascript functionality. Part two provides you with the opportunity to demonstrate your knowledge of accessing property on an unknown object.
by Gail Johnson * Aug. 21, 2024
Typescript, Challenge
How many red beans do you have?
Bowl of Jelly Beans
Challenge to analyze a bowl of jelly beans to determine the frequency of each color bean. Difficulty: medium
by Robert Banning * Jul. 23, 2024
Typescript, Challenge
Can you create TWO deepClone() functions?
Typescript Deep Clone Challenge
The spread operator can give you a clone (copy) of an object, but its properties still point to the same objects. How do you create a complete true clone of an object such that no properties point to original properties? Difficulty: medium
by Wiggy * Jul. 17, 2024
Typescript, Challenge
Why shouldn't you be able to reduce your set?
Typescript Set Reduce
In this challenge, you will level the playing ground giving Set the ability to reduce.
by Gail Johnson * Jan. 16, 2024
Typescript, Challenge
Referencing function parameter as the default for another parameter.
Typescript - Defaulting Parameters
I was sure this wasn't possible! Here is how you can use one function parameter as the default for another parameter. Follow up with a challenge. Difficulty: easy
by Wiggy * Sep. 18, 2023
Notes, Typescript, Challenge