lib/core/objectid.js
function makeObjectID() {
    return hexString(8, Date.now() / 1000) +
        hexString(6, machineId) +
        hexString(4, processId) +
        hexString(6, counter++); // a 3-byte counter, starting with a random value.
}
function makeObjectID() {
    return hexString(8, Date.now() / 1000) +
        hexString(6, machineId) +
        hexString(4, processId) +
        hexString(6, counter++); // a 3-byte counter, starting with a random value.
}
function makeObjectID ( ) { return hexString ( 8 , Date . now ( ) / 1000 ) + hexString ( 6 , machineId ) + hexString ( 4 , processId ) + hexString ( 6 , counter ++ ) ; // a 3-byte counter, starting with a random value. }
random-based impl of Mongo ObjectID
random - based impl of Mongo ObjectID