将myArray.constructor.toString().indexOf("Array")输出下可以知道值为9。因为myArray.constructor.toString()输出的结果为:
index从0开始算起,Array刚好为9.
判断日期的方法相同