1.打印输出信息 console.log 用于通常的打印信息 console.table 打印对象信息; console.trace(‘trace car’) 查看函数的调用栈,特别地有效。 3.断点调试 有三个方法, 一、直接找出代码行加个断点; 二、在代码中添加debugger,浏览器会自动在d ...
分类:
编程语言 时间:
2018-01-03 18:34:12
阅读次数:
144
高级查询1.联合查询 select code,name from infounionselect code,name from nation 2.连接查询形成笛卡尔积select * from info,nation where info.nation=nation.codeselect info. ...
分类:
其他好文 时间:
2018-01-03 11:48:33
阅读次数:
114
//car-model-select-tanchaung.twig ...
分类:
其他好文 时间:
2018-01-02 13:24:11
阅读次数:
185
//car-calculator-bx.twig ...
分类:
其他好文 时间:
2018-01-02 13:21:54
阅读次数:
204
//car-calculator-qk.twig ...
分类:
其他好文 时间:
2018-01-02 13:16:18
阅读次数:
181
#include <stdio.h> #include <string.h> void add(char d1[],char d2[],char sum[]) { int i,j,carry=0,inx,idx1,idx2,t; inx=0; idx1=strlen(d1)-1; idx2=strl ...
分类:
其他好文 时间:
2018-01-01 18:17:05
阅读次数:
147
default-autowire beans的属性;autowire bean的属性 <!--通过设置可以将Bean排除在自动装配之外--> <bean id="" autowire-candidate="false"/> <!--除此之外,还可以在beans元素中指定,支持模式字符串,如下所有以a ...
分类:
编程语言 时间:
2017-12-30 12:21:15
阅读次数:
179
IEEE Spectrum 杂志发布了一年一度的编程语言排行榜,这也是他们发布的第四届编程语言 Top 榜。 据介绍,IEEE Spectrum 的排序是来自 10 个重要线上数据源的综合,例如 Stack Overflow、Twitter、Reddit、IEEE Xplore、GitHub、Car ...
分类:
其他好文 时间:
2017-12-29 00:05:47
阅读次数:
169
vux github ui demo:https://github.com/airyland/vux Mint UI 项目主页:http://mint-ui.github.io/#!/zh-cndemo:http://elemefe.github.io/mint-ui/#/github地址:http ...
分类:
其他好文 时间:
2017-12-28 11:56:38
阅读次数:
125
通过栗子,一个人可以有多辆汽车 定义人 这个类 人可以有很多辆汽车,类中车属性用数组 然后定义汽车 这个类 之后,在测试类中,分别实例Person类和Car类 人这个对象只new一个 汽车可以无限个,这里象征性实例三个 对象实例化之后,设置彼此的关系,即一个人对应三台车,每台车都对应一个人 通过se ...
分类:
编程语言 时间:
2017-12-27 21:30:30
阅读次数:
186