src/com/google/javascript/jscomp/gwt/client/GwtRunner.java
/**
     * Validates that the values of this {@code JsMap} are primitives: either number, string or
     * boolean. Note that {@code typeof null} is object.
     */
Validates that the values of this  JsMap are primitives: either number, string or
boolean. Note that  typeof null is object.
Validates that the values of this JsMap are primitives : either number string or boolean . Note that typeof null is object .
private native void validatePrimitiveTypes() /*-{
      var valid = {'number': '', 'string': '', 'boolean': ''};
      Object.keys(this).forEach(function(key) {
        var type = typeof this[key];
        if (!(type in valid)) {
          throw new TypeError('Type of define `' + key + '` unsupported: ' + type);
        }
      }, this);
    }-*/;
private native void validatePrimitiveTypes ( ) /*-{
      var valid = {'number': '', 'string': '', 'boolean': ''};
      Object.keys(this).forEach(function(key) {
        var type = typeof this[key];
        if (!(type in valid)) {
          throw new TypeError('Type of define `' + key + '` unsupported: ' + type);
        }
      }, this);
    }-*/ ;
Validates that the values of this {@code JsMap} are primitives: either number, string or
 boolean.
Validates that the values of this { @code JsMap } are primitives : either number string or boolean .