test,doc: clarify buf.indexOf(num) input range
#7611
+36
−2
Closed