public function addJs($asset)
    {
        return $this->addType(Assets::JS_COLLECTION, Assets::JS_TYPE, $asset, $this->unifyLegacyArguments(\func_get_args(), Assets::JS_TYPE));
    }
public function addJs($asset)
    {
        return $this->addType(Assets::JS_COLLECTION, Assets::JS_TYPE, $asset, $this->unifyLegacyArguments(\func_get_args(), Assets::JS_TYPE));
    }
public function addJs ( $ asset ) { return $ this -> addType ( Assets :: JS_COLLECTION , Assets :: JS_TYPE , $ asset , $ this -> unifyLegacyArguments ( \ func_get_args ( ) , Assets :: JS_TYPE ) ) ; }
Add a JS asset or a collection of assets.

@return $this
Add a JS asset or a collection of assets .