. * * Ex: addScript('alert("Hello world");', ['weight' => 123]); * * @param string $code * JavaScript source code. * @param array $options * Open-ended list of key-value options. See CollectionInterface docs. * Positional equivalence: addScript(string $code, int $weight, string $region). * @return static * @see CRM_Core_Resources_CollectionInterface */ public function addScript(string $code, ...$options); /** * Add a JavaScript file to the current page using