分析下面的JavaScript代码段,输出结果是()varlevel=3;document.write(level==1?"优":level==2?"良":level==3?"中":level==4?"及":"差","");
A: 中
B: 3
C: 差
D: 良
A: 中
B: 3
C: 差
D: 良
举一反三
- 【单选题】享有报价优先推荐和Popular Supplier标识的等级是? A. Level 4 B. Level 1 和 Level 2 C. Level 3 和Level 4 D. Level 1
- 编程实现系列推断,如果a>60,则level=1;如果a>70,则level=2;如果a>80,则level=3;如果a>90,则level=4,并以对话框的方式在页面上输出结果。
- 中国大学MOOC: Abraham Maslow’s Hierarchy of Human Needs are: Level 1 Physical Needs, Level 2 Safety Needs, Level 3 Esteem Needs , Level 4 Social Needs and Level 5 Self-Realization Needs.
- ________<br/>means the level for which appropriate additional<br/>protective security measures shall be maintained for a period of time<br/>as a result of heightened risk of a security incident. A: Security level 1 B: Security level 2 C: Security level 3 D: Security level 4
- 分析下面的JavaScript代码段: varmystring="Iamastudent"; a=mystring.indexOf("am"); document.write(a); 输出结果是()。 A: 3 B: 4 C: 2 D: 1