@ oi, you're right, thanks... this is a bug!
txtjoin(test1, '|', 'a', 'b', 'c', 'd');
debugvar(test1);
// DEBUG: |||
txtsplit('a|b|c|d', '|', test2);
debugvar(test2);
// DEBUG: test2=[Array] type=object
// DEBUG: test2.count=[4] type=number
txtjoin(test3, '/', test2);
// --> javascript error in console!
txtjoin(test3, '/', get(test2));
// --> javascript error in console!