function Bob() {
  'use strict';

  function isSilence(message) {
    return message.replace(/\s+/g, '') === "";
  }

  function isShouting(message) {
    return message.toUpperCase() === message && /[A-Z]/.test(message);
  }

  function isAQuestion(message) {
    return message[message.length - 1] === "?";
  }

  this.hey = function(message) {
    if (isSilence(message)) {
      return "Fine. Be that way!";
    } else if (isShouting(message)) {
      return "Woah, chill out!";
    } else if (isAQuestion(message)) {
      return "Sure.";
    } else {
      return 'Whatever.';
    }
  };
}

module.exports = Bob;

@@ -462,11 +462,11 @@
 n %22W
+h
 oa
-h
 , ch

Update example.js