MIP.watch('count', function (newVal, oldVal) { fetch('http://www.chazidian.com/kaoshi/ajaxapi/?action=guanzhu&id=126066&type=2') .then(function (res) { var follows2 = MIP.getData('follows') if(follows2==1){ MIP.setData({ follows:2, title:'收藏' }) } if(follows2==2){ console.log(2) MIP.setData({ follows:1, title:'已收藏' }) } }) .catch(function (err) { console.log('数据请求失败!') }) })

在JavaScript中,增加单行注释的选项是_________。

A、//Thisisacomment
B、'Thisisacomment
C、
D、--Thisisacomment
查看答案
正确答案:

A

答案解析:

暂无解析

上一题
你可能感兴趣的试题

下面()是静态网页文件的扩展名

A、asp
B、htm
C、aspx
D、jsp

HTTP请求消息中可以不包含______。

ⅰ.开始行ⅱ.消息头ⅲ.消息体实体数据

A、仅ⅰ
B、ⅰ和ⅱ
C、ⅱ和ⅲ
D、仅ⅲ

””之间声明的变量在部分JSP页面内有效。

在HTML文档中用于表示页面标题的标记对是______。

A、<head></head>
B、<header></header>
C、<Caption></Caption>
D、<title></title>

下列语句中,能产生带有数字列表符号的列表标记是______。

A、<ul>
B、<dl>
C、<ol>
D、<list>
热门试题 更多>
相关题库更多>
公共基础
Python语言程序设计
MS Office高级应用
Web程序设计
MySQL数据库程序设计