Why does indexOf work different when using as is vs comparing it to -1?

NoSuchKey

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=11723&siteId=1