ZY ZY
4年前
js堆和栈
浅析js中堆内存和栈内存我们常遇见的varletconst区别cont定义的基本类型不能改变,但是定义的对象是可以通过修改对象属性等方法来改变的consta1;console.log(a)//a;cosnole.log(a2)//报错constb;b.name1;console.log(b)//name:1con
Stella981 Stella981
3年前
Hibernate Validator 手动发起验证
在SpringBoot开发web项目的时候,表单参数验证,常用 HibernateValidator需要在参数类的属性上添加注解@NotNull(https://my.oschina.net/notnull),@Max(https://my.oschina.net/maxttyl),@Min(https://my.osc
Stella981 Stella981
3年前
PDF.js专题
前言   英文是github上的原文,找不到中文资料,我根据自己理解翻译的,有些词意思拿不准就直接把单词留在原地了,看这个文档应该可以凑合着用了。PDF.js是什么    PDF.jsisaPortableDocumentFormat(PDF)viewerthatisbuiltwith HTML5
Wesley13 Wesley13
3年前
JS随机抽取图片
1<!DOCTYPEhtml2<html3<head4<metahttpequiv"ContentType"content"text/html;charsetutf8"/5<title</title6<metachar
Stella981 Stella981
3年前
Js 转动抽奖实现
一、样本地址:http://js.zhuamimi.cn/choujiang/index.htm源码:https://pan.baidu.com/s/15KhesfcLf1WMOom6PhzCjA!(https://oscimg.oschina.net/oscnet/842167d0425cec2398dca1eeba531b66b
Stella981 Stella981
3年前
Js表单验证控件
演示地址:http://weishakeji.net/Utility/Verify/Index.htm(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fweishakeji.net%2FUtility%2FVerify%2FIndex.htm)开源地址:https://githu
Wesley13 Wesley13
3年前
JS中小括号的用法总结
小括号用法1\.改变运算符的优先级vara\4\(12);console.log(a);//122.函数声明和函数调用参数列表:functionfunc(a,b){//代码}func(1,2);//参数列表注意点functi
Wesley13 Wesley13
3年前
JS面向对象编程
JavaScript面向对象编程面向对象介绍什么是对象Everythingisobject(万物皆对象)对象到底是什么,我们可以从两次层次来理解。(1)对象是单个事物的抽象。一本书、一辆汽车、一个人都可以是对象,一个数据库、一张网页、一个与远程服务器的连接也可