V School | Better Humans, Better Outcomes

JavaScript Data Types & Function Arguments

JavaScript is made up of essentially two categories of data types with differing characteristics. Type 1: Primitive Data The primitive data types are: 1. Strings 2. Numbers 3. Booleans Primitive data types all share the characteristic of immutability, or the inability to be changed. All operations on primitive data types

Karma

As mentioned in the Testing Basics and Testing JavaScript with Jasmine posts, we'll be using the test runner Karma to run our JavaScript tests. When it comes time to test Angular code, we're going to need additional tools to help us deal with the AngularJS framework so we can test

Testing Basics

The aim of this post is to help you gain the basic understanding of the principles and reasons behind testing, as well as to learn some basic testing terminology. What does "testing" mean in software development? Have you ever written a new feature into your code, and then had to

Warmup - Racecar

Write a function that takes a string and returns true if that string is a palindrome (the same forward and backward) and false if it is not. isPalindrome("bob"); // true isPalindrome("baz"); // false **Extra credit**: Make it so spaces, capital letters, and punctuation don't stop something from being a palindrome.

Warmup - Squirrel Play

The squirrels in Palo Alto spend most of the day playing. In particular, they play if the temperature is between 60 and 90 (inclusive). Unless it is Summer, then the upper limit is 100 instead of 90. Given an int temp and a boolean isSummer, return true if the squirrels

V School | Better Humans, Better Outcomes © 2026