I am trying to create a single variable that contains all of the function key codes. If I remove the brackets and use a single keycode everything works.
$('input').keyup(function (e) {
var functionKeysPressed = e.which == [114, 115, 116, etc];
if (!functionKeysPressed) {
}
});