You can use conditional/ternary operator return type === 'assignment' ? a + ' + ' + b : a + b;. toString() when working with strings, work as string ...
確定! 回上一頁