在未来的CE发行版中,以1作为递增基数可能会发生改变,尽管递增的行为没有改变。
It's possible that the increment-by-one behavior could change in a future CE release, though it would still be monotonically increasing behavior.
注意:默认使用字符串键,如果要使用数值键则需要重新指定,且从“0”开始以基数“1”递增。
Note: String keys will be maintained, but numeric keys will be re-indexed, starting at 0 and increase by 1.
提示:返回的数组将拥有数值键,从0开始以基数1递增。
Tip: The returned array will have numeric keys, starting at 0 and increase by 1.
一般它会是一个从随机基数开始的递增值,不过客户端想用什么样的请求ID都可以。
Typically it will be a monotonically increasing value starting from a random seed, but the client is free to use whatever request IDs it likes.
注意:如果每个元素对应的键是数值型,那么剩下的元素将重新获得新的数值键,且从0开始以基数1递增(见案例2)。
Note: If the keys are numeric, all elements will get new keys, starting from 0 and increases by 1. (See example 2).
注意:如果每个元素对应的键是数值型,那么剩下的元素将重新获得新的数值键,且从0开始以基数1递增(见案例2)。
Note: If the keys are numeric, all elements will get new keys, starting from 0 and increases by 1. (See example 2).
应用推荐