以下哪个语句中的test是数值型变量?
A: var test=20181194953;
B: int test=20181194953;
C: var test;
D: var test="20181194953";
A: var test=20181194953;
B: int test=20181194953;
C: var test;
D: var test="20181194953";
举一反三
- 以下哪个语句中的test是数值型变量? A: var test=20181194953; B: int test=20181194953; C: var test; D: var test="20181194953";
- 指出代码输出的各个结果: console.log(test); function test(test){ console.log(test); var test=234; console.log(test); function test(){} } test(1); var test=123;
- 以下程序的运行结果是: <?php $var=89; test($var); function test($var){ $var++; echo $var."<br>"; } echo $var."<br>"; test($var); ?>
- 查看一下代码 ,请问输出正确的是|var Test ={| foo:"test",| func:function () {| var self=this;| console.log(this.foo);| console.log(self.foo);| (function () {| console.log(this.foo);| console.log(self.foo);| })();| }|};|Test.func(); A: test test undefined test B: test undefined undefined test C: test test undefined D: test test test test
- var a = 10; function test() { console.log(a); var a = 100; console.log(a); } test(); console.log(a);