程序猿
程序猿
js关于 indexOf
我一直以为是es3的。
这玩意是es5的 不是es3的。
兼容性 ie9+ 。
还有个lastIndexOf 从字符串或者数字后面开始算起的!
很皮 很尴尬
【推广】
免费学中医,健康全家人
原文地址:https://www.cnblogs.com/dingzhipeng/p/8465506.html
推荐文章
静态成员变量的初始化,vector类型变量初始化
HDOJ 1257 最少拦截系统 【DP】
线性表的顺序表示和实现
HDU_1907 John(AntiNim)
HDU_1703 Northcott Game(博弈论)
HDU_2066 一个人的旅行(Dijkstra)
HDU_1848 Fibonacci again and again(SG函数应用)
HDU_1517 A Multiplication Game
URAL 1009. Kbased Numbers
HDU_3371 Connect the Cities ( Prim )
近期总结
HDU_1536 SNim(sg函数)
HDU_1698 Just a Hook(线段树)
HDU_1176 免费馅饼(DP)
HDU_1394 Minimum Inversion Number(线段树)
HDU_Virtual Friends (并查集)
HDU_1385 Minimum Transport Cost( Dijkstra )
HDU_1198 Farm Irrigation(并查集)
HDU_1729 Stone Game(SG)
HDU_2795 Billboard(线段树)
HDU_1846 Brave Game(sg函数简化版)
POJ 3225 Help with Intervals(线段树)
ZOJ_3501 Roman Order
HDU_1527 取石子游戏(威佐夫博弈)
HDU_2112 HDU Today(DIjkstra + map映射)
HDU_3339 In Action(Dijkstra + DP)
单链表的实现(课本上的算法)
haproxy 基于 uri 实现调度
haproxy 基于 cookie 实现 session 绑定
[转]ASP.NET 虚拟主机安全漏洞解决方案