String.endsWith - Prototype JavaScript 框架
From Xunxin Prototype API
endsWith1.5.1
endsWith(substring) -> Boolean
检查字符串是否以 substring 作为结尾。
样例
'slaughter'.endsWith('laughter')
// -> true
From Xunxin Prototype API
endsWith(substring) -> Boolean
检查字符串是否以 substring 作为结尾。
'slaughter'.endsWith('laughter')
// -> true