自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 spring-web.xml

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:context="http://www.springframework.org/schema/context"xmlns:mvc="http://www.springf...

2022-01-22 07:35:44 347

原创 spring-service.xml

<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="ht...

2022-01-22 07:01:39 473

原创 spring-dao.xml

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http:...

2022-01-22 06:58:32 387

原创 mybatis-config.xml

<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"><configuration> <settings> <setting name="useGeneratedKeys" va...

2022-01-22 06:45:35 62

原创 函数的name属性 取值函数 存值函数

var person = {sayName() {console.log(this.name); },get firstName() { return "Nicholas"; }};person.sayName.name //sayNameperson.firstName.name // get firstName

2021-07-28 11:54:30 144

原创 函数内部的私有变量(以及对外公开的特权)

function parent(){ this.name="王" }var child=new parent();alert(child.name) // 王function parent(){ var name="王" }var child=new parent();alert(child.name) // unfunction parent(){var name="王"this.fun=funct...

2021-07-24 10:23:13 71

原创 匿名函数模拟块级作用域

for(var i=1;i<=5;i++){}var i;alert(i);返回结果为6如果加上匿名函数,就形成了模拟块级作用域 自毁(function(){for(var i=1;i<=5;i++){}})()var i;alert(i);完全不影响i了!

2021-07-24 10:03:33 106

原创 闭包当中的this

匿名函数中this指向全局!var a="全局";function parent(){ var a=100; return function(){ return this.a//必须是在这个里面的this ----->指向全局}}alert(parent()())//返回的是全局的a...

2021-07-24 09:57:50 67

原创 浅谈ES6

ES6是咱前端必备的技能,不过,你真的理解ES6 的核心新特性吗?今天来浅谈一下ES5与ES6的箭头函数与对象结构之间的区别有多大吧!比如使用箭头函数:// ES5箭头函数写法let f = function(v){ return v } // ES6箭头函数写法 let f = v => vES6 中箭头函数的语法非常简单:标识符=>表达式。代码量可以减少 50%以上。再比如对象解构:​​​​​​​//ES5var obj1 = { a..

2021-07-24 08:54:05 81

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除