UNPKG

jsmp-infra-there-is-nothing-to-complain-about

Version:

Awesome two-function library with excess dependency

18 lines (14 loc) 503 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); function PomodoroString() { var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; for (var _len = arguments.length, other = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { other[_key - 1] = arguments[_key]; } if (str.length && other.length) { return 'Pomodoro ' + other.join(' '); } } module.exports = { PomodoroString: PomodoroString };