string endWith code example
Example 1: endswith()
var str = "Hello world, welcome to the universe.";
var n = str.endsWith("universe.");//returns true
Example 2: .endWith
Cannot GET /s
var str = "Hello world, welcome to the universe.";
var n = str.endsWith("universe.");//returns true
Cannot GET /s