old_contents: 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;
  
new_contents: 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 "Whoa, chill out!";
      } else if (isAQuestion(message)) {
        return "Sure.";
      } else {
        return 'Whatever.';
      }
    };
  }
  
  module.exports = Bob;
  
subject: Update example.js