Bug Hunting

Run Run the code & show the output
Edit Open the code in a new editor
This file contains 8 pieces of code, with a comment for each one that explains what the code *should* do. Unfortunately, all 8 are buggy in some way! Your job is to click "Run", read the error message, and figure out how to fix the code so it does what the comment above it says.