题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6756 CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107590312 Problem Description Given an ...
分类:
其他好文 时间:
2020-07-26 15:58:23
阅读次数:
139
一、背景 在Web安全中,xss攻击绝对算是一种非常常见的攻击方式了,它能够窃取用户的隐私信息,比如cookie,也能够做一些非用户意图的操作来达到攻击目的。 二、原理 xss攻击是一种非法脚本的插入与执行攻击,全称为 cross site script ,即跨站脚本攻击。 通常我们访问一个安全的网 ...
分类:
其他好文 时间:
2020-07-26 15:56:23
阅读次数:
73
Find Minimum in Rotated Sorted Array II (H) 题目 Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [ ...
分类:
其他好文 时间:
2020-07-26 15:29:37
阅读次数:
58
<script type="text/javascript"> let username='java1234'; let pwd='123456'; /*let obj={ username:username, pwd:pwd, getUserName:function(){ return this ...
分类:
其他好文 时间:
2020-07-26 15:19:20
阅读次数:
63
<script type="text/javascript"> let obj = {username:'java1234',pwd:'123456'}; /* let username=obj.username; let pwd=obj.pwd;*/ let{username,pwd} = obj ...
分类:
其他好文 时间:
2020-07-26 15:18:36
阅读次数:
55
<script type="text/javascript"> let obj={name:'jack',age:20}; console.log(`es6:我的名字是:${obj.name},年龄是:${obj.age}`); </script> ...
分类:
其他好文 时间:
2020-07-26 15:16:38
阅读次数:
52
es6三点运算符 <script type="text/javascript"> function func(a,b,...params){ console.log(params); params.forEach(function(item,index){ console.log(item,inde ...
分类:
其他好文 时间:
2020-07-26 15:15:55
阅读次数:
65
<script type="text/javascript"> // 子串识别 /* indexOf 查找字符串中是否包含指定字符串 查找第一次出现的位置,从0开始 includes():返回布尔值,判断是否找到参数字符串。 startsWith():返回布尔值,判断参数字符串是否在原字符串的头部。 ...
分类:
其他好文 时间:
2020-07-26 15:15:19
阅读次数:
54
<script type="text/javascript"> // 定了一个类 class Person{ // 定义一个构造方法 constructor(name,age){ console.log('父类构造方法') this.name=name; this.age=age; } // 定义普 ...
分类:
其他好文 时间:
2020-07-26 15:14:02
阅读次数:
50
<script type="text/javascript"> function* myGenerator(){ console.log('业务逻辑A') let result=yield 'hello' console.log(result) console.log('业务逻辑B') yield ...
分类:
其他好文 时间:
2020-07-26 15:13:08
阅读次数:
51