Guidewire interview question

FizzBuzz Hackerrank problem, OSI model layers and protocols, Javascript function declaration types