src/Loader.php
public function script($src = false, $deps = array(), $type = 'both', $in_footer = false)
    {
        $this->scripts = $this->resource($this->scripts, 'assets/js/' . $src, $deps, $type, $in_footer);
    }
public function script($src = false, $deps = array(), $type = 'both', $in_footer = false)
    {
        $this->scripts = $this->resource($this->scripts, 'assets/js/' . $src, $deps, $type, $in_footer);
    }
Add a new filter to the collection to be registered with WordPress.

@since   1.0.0
@param   bool|string $src Path to the script from the assets directory of the plugin.
@param   array $deps An array of registered handles this script depends on. Default empty array.
@param   string $type Optional. Include in wp, admin or both.
@param   bool $in_footer Optional. Whether to enqueue the script before or before . Default 'false'. Accepts 'false' or 'true'.