src/jsChain.php
private function _renderArgs($args = [])
    {
        return '('.
            implode(',', array_map(function ($arg) {
                if ($arg instanceof jsExpressionable) {
                    return $arg->jsRender();
                }

                return $this->_json_encode($arg);
            }, $args)).
            ')';
    }
private function _renderArgs($args = [])
    {
        return '('.
            implode(',', array_map(function ($arg) {
                if ($arg instanceof jsExpressionable) {
                    return $arg->jsRender();
                }

                return $this->_json_encode($arg);
            }, $args)).
            ')';
    }
private function _renderArgs ( $ args = [ ] ) { return '(' . implode ( ',' , array_map ( function ( $ arg ) { if ( $ arg instanceof jsExpressionable ) { return $ arg -> jsRender ( ) ; } return $ this -> _json_encode ( $ arg ) ; } , $ args ) ) . ')' ; }
Renders JS chain arguments.

@param array $args

@return string
Renders JS chain arguments .