Access the Middle Element of an Array

You have an array containing three snacks. Your friend wants the middle snack. Assign the middle element to the variable 'middleSnack'.
JavaScript
Console