Learn
Now let’s tackle procs. First step: create one!
Instructions
1.
Create a proc called under_100
that checks if a number it’s passed is less than 100. (We’ll handle passing this proc the .select
method in the next exercise—we won’t need to do anything with the ages
array just yet.)
Take this course for free
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.