Tumortisch-Dist/resources/app/node_modules/memoizee/normalizers/primitive.js

10 lines
203 B
JavaScript
Raw Normal View History

2021-06-15 16:00:08 +02:00
"use strict";
module.exports = function (args) {
var id, i, length = args.length;
if (!length) return "\u0002";
id = String(args[i = 0]);
while (--length) id += "\u0001" + args[++i];
return id;
};