Files
Schnappix/node_modules/@egjs/hammerjs/src/utils/unique-id.js
T

10 lines
149 B
JavaScript

/**
* @private
* get a unique id
* @returns {number} uniqueId
*/
let _uniqueId = 1;
export default function uniqueId() {
return _uniqueId++;
}