$context->addJsFile('https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js');
$context->addJsFile('/js/custom.js');This example adds a custom javascript file named custom.js that is located in the web root folder of the application. This function call is useful for including any application-specific javascript code into the web page. The package library for the Context class is not specified as it is often part of a larger web framework like Drupal, Joomla or Yii.