getLastIndexOf > lastIndexOf
- unnecessary var decl