endsWith
endsWith(substring) -> Boolean
Checks if the string ends with substring.
Example
'slaughter'.endsWith('laughter')
// -> true
© 2006-2008 Prototype Core Team
© 2009 перевод Иванов Егор
© 2009 перевод Иванов Егор
easing the pain of dynamic web applications
endsWith(substring) -> Boolean
Checks if the string ends with substring.
'slaughter'.endsWith('laughter')
// -> true