mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
9 lines
139 B
JavaScript
9 lines
139 B
JavaScript
|
// @flow
|
||
|
'use strict';
|
||
|
|
||
|
var key = '__global_unique_id__';
|
||
|
|
||
|
module.exports = function() {
|
||
|
return global[key] = (global[key] || 0) + 1;
|
||
|
};
|