Files
keppler/site/utils/ids.class.js
T
2016-06-09 19:07:15 +02:00

19 lines
182 B
JavaScript

'use strict'
class IDs
{
constructor()
{
this.last_id = 0
}
get_id()
{
return ++this.last_id
}
}
let ids = new IDs()
module.exports = ids