maths: add timestamp function (#354)

This commit is contained in:
jean-emmanuel 2018-08-31 11:09:01 +02:00
parent 0db592aa29
commit 5719823239

View file

@ -88,6 +88,7 @@ module.exports = {
length: function(x) { return x.length },
values: function(x) { return Object.values(x) },
keys: function(x) { return Object.keys(x) },
timestamp: function() { return Date.now() },
// basic relationnal to keep alphabetical string comparison (v4 change)
equal: function(a, b) { return a == b },
unequal: function(a, b) { return a != b },