JS: address comments

This commit is contained in:
Asger F
2018-12-04 10:40:43 +00:00
parent 1130d0c6f9
commit 7121a18eba
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
/**
* @name Incorrect suffix check
* @description Using indexOf to implement endsWith functionality is error prone if the -1 case is not explicitly handled.
* @description Using indexOf to implement endsWith functionality is error-prone if the -1 case is not explicitly handled.
* @kind problem
* @problem.severity error
* @precision high