@age/quantum
Version:
Catho react components
45 lines (36 loc) • 876 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _callee;
require("babel-polyfill");
var _marked =
/*#__PURE__*/
regeneratorRuntime.mark(_callee);
function _callee() {
var prefix,
_counter,
_args = arguments;
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
prefix = _args.length > 0 && _args[0] !== undefined ? _args[0] : '';
_counter = -1;
case 2:
if (!true) {
_context.next = 7;
break;
}
_context.next = 5;
return "".concat(prefix).concat(_counter += 1);
case 5:
_context.next = 2;
break;
case 7:
case "end":
return _context.stop();
}
}
}, _marked);
}