_.endsWith

Function Description
Returns true or false if given string ends with substring.
Function prototype
_.endsWith(str,s). Returns true or false if @str ends with @s.
Function parameters
@str - string to be searched
@s - string to be found
Sample HTML DIV element is given to try UPJS function.
not applicable
Code area to try out _.endsWith function.