anchor.diff:      // exception occurred.
       var type = JS('var', r'#.type', ex);
       var name = JS('var', r'#.arguments ? #.arguments[0] : ""', ex, ex);
  -    if (message.contains('JSNull') ||
  +    if (contains(message, 'JSNull') ||
           type == 'property_not_function' ||
           type == 'called_non_callable' ||
           type == 'non_object_property_call' ||
  
positive.code:           message.endsWith('is undefined') ||
            message.endsWith('is null or undefined')) {
          return new NoSuchMethodError(null, '<unknown>', [], {});
        } else if (message.contains(' is not a function') ||
                   (ieErrorCode == 438 && ieFacilityNumber == 10)) {
          // Examples:
          //  x.foo is not a function
  
negative.code:   }
  
    if (JS('bool', r'# instanceof RangeError', ex)) {
      if (message is String && contains(message, 'call stack')) {
        return new StackOverflowError();
      }
  
  