Update Davis_Michael_Assignment2.js

filled in if statement