The indexOf() method is a part of the Array prototype and the String prototype, and therefore it applies to objects of both types.
確定! 回上一頁