Class **Phalcon\\Assets\\Resource\\Js** ======================================= *extends* :doc:`Phalcon\\Assets\\Resource ` Represents Javascript resources Methods --------- public **__construct** (*string* $path, [*boolean* $local]) public *string* **getType** () inherited from Phalcon\\Assets\\Resource Returns the type of resource public *string* **getPath** () inherited from Phalcon\\Assets\\Resource Returns the URI/URL path to the resource public *boolean* **getLocal** () inherited from Phalcon\\Assets\\Resource Returns whether the resource is local or external