javascript startswith and endswith code example
Example: javascript endswith
"Hello world".endsWith("world");//true
"Hello world".endsWith("Hello");//false
"Hello world".endsWith("world");//true
"Hello world".endsWith("Hello");//false