etnbrd/flx-compiler

View on GitHub
test-set/Moonridge-master/simple-ids.js

Summary

Maintainability
A
0 mins
Test Coverage
var counter = 0;
var now;

setInterval(function () {
    now = new Date();
    counter = 0;
},1);

module.exports = function () {
    counter += 1;
    return JSON.stringify(now) + '|' + counter;
};