Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace String#substring() with String#startsWith() or String#endsWith() #3124
changed the title from
string.prototype.substring() to string.prototype.startsWith() or string.prototype.endsWith()
String#substring() to String#startsWith() or String#endsWith()
Apr 30, 2018
The error issued by codeclimate is complexity. Somebody needs to split the function to fix it.