function hash(value) {
    switch (typeof value) {
        case "number":    return oidNative.numberIdHash(value);
        case "string":    return stringHash(value);
        case "boolean":   return value ? 99989 : 99991; // Two primes.
        case "undefined": return 99971;                 // Likewise.
        default:          return oidNative.objectIdHash(value);
    }
}
/**
 * Return the identity hash code of the given value.
 */
Return the identity hash code of the given value.
Return the identity hash code of the given value .
function hash(value) {
    switch (typeof value) {
        case "number":    return oidNative.numberIdHash(value);
        case "string":    return stringHash(value);
        case "boolean":   return value ? 99989 : 99991; 
        case "undefined": return 99971;                 
        default:          return oidNative.objectIdHash(value);
    }
}
function hash ( value ) { switch ( typeof value ) { case "number" : return oidNative . numberIdHash ( value ) ; case "string" : return stringHash ( value ) ; case "boolean" : return value ? 99989 : 99991 ; case "undefined" : return 99971 ; default : return oidNative . objectIdHash ( value ) ; } }
Return the identity hash code of the given value.
Return the identity hash code of the given value .
// Two primes. // Likewise.