Delete Last Array Javascript Join Function Smartsheet