除了indexOf和includes方法,不妨来了解一下match方法

NoSuchKey