summaryrefslogtreecommitdiff
path: root/jstests/core/objid6.js
blob: 28be2a3fa427713006564683776a314154d44287 (plain)
1
2
3
4
5
6
7
8
9
10
(function() {
'use strict';

var o = new ObjectId();
assert(o.getTimestamp);

var a = new ObjectId("4c17f616a707427266a2801a");
var b = new ObjectId("4c17f616a707428966a2801c");
assert.eq(a.getTimestamp(), b.getTimestamp());
})();