const{log}=console;log(’hello’)执行这个代码在控制台的结果是什么?()
A: hello
B: 报错
C: undefined
D:
A: hello
B: 报错
C: undefined
D:
举一反三
- console.log(alert('Hello'))在控制台的输出结果是( )。 A: undefined B: true C: false D:
- 下列代码的执行结果为|var fn = "hello";|fn();|function fn(){ |console.log("world")|}; A: "hello" B: "world" C: undefined D: fn is not function
- 执行下列代码后,新字符串中的结果是() A: HELLO WORLD! B: Hello World! C: HELLO WORLD1 D: hELLO wORLD!
- 分析下列代码片段的执行结果是() if (true) { Console.Write("Hello"); Console.Write("World"); } A: 无输出 B: HelloWorld C: Hello D: Hello World
- 分析下面的代码:varx=[’Hello’];document.write(x[1])输出结果是undefined。()