Opal-Estate-Pro/node_modules/memoizee/normalizers/primitive.js

10 lines
203 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +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;
};