摘要:
什么是JavaScript闭包? 刚开始知道这个词,就误以为是自动执行的匿名函数块。 比如说+function(){}(); 然而并不是,那么请看下面的例子: displayname()是闭包吗?函数内部访问函数成员局部属性的方法? This is an example of lexical sco 阅读全文
摘要:
PHPStorm 10 配置PHPUnit PHPUnit的安装 自己用的是Xampp,PHPUnit好像自带不好用。 不说废话: 自己看 According to official site https://phpunit.de/ PHPUnit 5.2 is supported on PHP 5 阅读全文
摘要:
JQuery选择器 大于 空格 波浪线 加号的区别 元素遍历 参见 Jquery API Child Selector (“parent > child”) Selects all direct child elements specified by “child” of elements spec 阅读全文
摘要:
JavaWeb EL表达式 key为 Map取不到值 因为JSTL会把Integer,Byte,Short,Charactor都转成Long,这样就取不到值。 参见StackOverFlow的回答 EL access a map value by Integer key 解决办法: 当后台传出一个M 阅读全文
摘要:
Exercise 3: Multivariate Linear Regression 预处理数据 Preprocessing the inputs will significantly increase gradient descent’s efficiency Matlab代码 Normal eq 阅读全文