上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 61 下一页
摘要: ob1.prop1 obj1.prop2 如果找不到prop2 就会向上找它原型对象中的prop2 如果最后也找不到 值为undefined(注意 这个属性最终值是undefined! 原型链上最终指的是null! __proto__ 为啥这玩意要左边右边都加俩个下划线,好奇怪啊? 答:这个东西设计 阅读全文
posted @ 2018-05-06 07:59 hh9515 阅读(132) 评论(0) 推荐(0)
摘要: 定义: a function use a variable outside the scope are closures. 或者说 "Closures are FUNCTIONS WITH PRESERVED DATA" console.dir() Displays an interactive(交 阅读全文
posted @ 2018-05-05 11:23 hh9515 阅读(256) 评论(0) 推荐(0)
摘要: RSA算法: 1. 准备两个质数 pq n= pq 2.求中间数L l =最小公倍数(p-1,q-1) 为 144 3.求E 1<E<L 最大公约数(e,l)=1 4.求D 1<D<L E*D mol L = 1 实践 1. 准备两个很小对质数p = 17q = 19N = p*q = 323 2. 阅读全文
posted @ 2018-05-05 09:40 hh9515 阅读(239) 评论(0) 推荐(0)
摘要: 密码学(cyptography)Science of hidding information cipher 密钥 encryption 加密 对称加密 key string 密钥(symmetric key 对称密钥) 非对称加密: public key, private key 服务器可以free 阅读全文
posted @ 2018-05-04 15:57 hh9515 阅读(245) 评论(0) 推荐(0)
摘要: SSH是一种协议, 因为明文传输,传统的 FTP POP telnet...都是不安全的. SSH為Secure Shell的縮寫。為建立在应用层和传输层基础上的安全协议。 传统的网络服务程序,如FTP、POP和Telnet其本质上都是不安全的;因为它们在网络上用明文传送数据、用户帐号和用户口令,很 阅读全文
posted @ 2018-05-04 15:27 hh9515 阅读(222) 评论(0) 推荐(0)
摘要: Hash,一般翻译做“散列”,也有直接音译为“哈希”的,就是把任意长度的输入(又叫做预映射, pre-image),通过散列算法,变换成固定长度的输出,该输出就是散列值。这种转换是一种压缩映射,也就是,散列值的空间通常远小于输入的空间,不同的输入可能会散列成相同的输出,所以不可能从散列值来确定唯一的 阅读全文
posted @ 2018-05-04 14:38 hh9515 阅读(2016) 评论(0) 推荐(0)
摘要: JavaScript is a bit confusing for developers experienced in class-based languages (like Java or C++), as it is dynamic and does not provide a class im 阅读全文
posted @ 2018-04-26 11:34 hh9515 阅读(235) 评论(0) 推荐(0)
摘要: 七种数据类型 ·Symbol ·undefined ·null ·Boolean ·String ·Number ·Object let a = Symbol('this is a symbol'); let b = Symbol(); console.log(a b); //false Symbo 阅读全文
posted @ 2018-04-26 10:10 hh9515 阅读(148) 评论(0) 推荐(0)
摘要: 个人翻译: Updating a DOM is not slow, it is just like updating any JavaScript object; then what exactly makes updating Real DOM slow? 更新一个DOM其实并不慢,就像更新任意一 阅读全文
posted @ 2018-04-24 16:26 hh9515 阅读(208) 评论(0) 推荐(0)
摘要: 高级指南 1.深入JSX: 从本质上讲,JSX 只是为 React.createElement(component, props, ...children) 函数提供的语法糖。 因为 JSX 被编译为 React.createElement 的调用,所以 React 库必须在你 JSX 代码的作用域 阅读全文
posted @ 2018-04-24 11:21 hh9515 阅读(267) 评论(0) 推荐(0)
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 61 下一页