primitive.js 203 B

123456789
  1. "use strict";
  2. module.exports = function (args) {
  3. var id, i, length = args.length;
  4. if (!length) return "\u0002";
  5. id = String(args[i = 0]);
  6. while (--length) id += "\u0001" + args[++i];
  7. return id;
  8. };