code: public function script($url, $attributes = [], $secure = null)
      {
          $attributes['src'] = $this->uri->assets($url, $secure);
  
          return $this->toHtmlString('<script' . $this->attributes($attributes) . '></script>' . PHP_EOL);
      }
docs: Generate a link to a JavaScript file.
  
  @param string $url
  @param array  $attributes
  @param bool   $secure
  
  @return string