var n = "miao wei ke tang".indexOf("wei",6);n的值为:( )
A: -1
B: 5
C: 程序报错
D: -10
A: -1
B: 5
C: 程序报错
D: -10
举一反三
- 在JavaScript中,执行下面的代码后,n的值是( )var str = "xiao.li@gmail.com";var n = str.last IndexOf("."); A: 4 B: 5 C: 13 D: 12
- 下列程序段的执行结果为______。 x = 0: y = 1 z = 1: n = 0 Do x = x + y + z n = n + 1 Loop While x < 10 Print x; n A: 10 5 B: x n C: 9 5 D: 10 6
- 执行如下代码片段后,n的值为:int n= 5;n = (n % 2) == 0 ? n – 1 : n + 1; A: 4 B: 5 C: 6 D: 1
- 患者不能自己调整肢体wei置称() A: 被动体wei B: 强迫体wei C: 自动体wei D: 辗转体wei
- Which period does Wang Wei, the predecessor of literati painter belong to? A: Early Tang period B: High Tang period C: Late Tang period D: Pre-Tang period