如果第二个参数是第一个参数的后缀,则返回true。
字符串
endWith(<parameters>)
endWith(<string>,<string>)
返回布尔值。
endWith("Hello World", "World")
返回真。
endWith("Hello World", "Hello")
返回假。