Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
'use strict';
module.exports = function join(glue, finalGlue) {
const collection = this.values();
if (finalGlue === undefined) {
return collection.implode(glue);
}
const count = collection.count();
if (count === 0) {
return '';
}
if (count === 1) {
return collection.last();
}
const finalItem = collection.pop();
return collection.implode(glue) + finalGlue + finalItem;
};