上一页 1 ··· 443 444 445 446 447 448 449 450 451 ··· 497 下一页
摘要: var str = "Is this This?"; //var regex = new RegExp("is", "gi"); var regex = /is/gi; //console.log(regex.test(str)); console.log(regex.exec(str)); //[ 阅读全文
posted @ 2016-01-29 05:15 Zhentiw 阅读(191) 评论(0) 推荐(0)
摘要: Local Storage is a native JavaScript Web API that makes it easy to store and persist data (as key-value pairs) in the Browser. In this lesson, we'll w 阅读全文
posted @ 2016-01-27 21:44 Zhentiw 阅读(166) 评论(0) 推荐(0)
摘要: JSON (JavaScript Object Notation) is a standard method to serialize JavaScript objects and is commonly used to transfer data from the server to the br 阅读全文
posted @ 2016-01-27 20:31 Zhentiw 阅读(233) 评论(0) 推荐(0)
摘要: Finally, I just noticed that the to-do app component doesn't actually have to be a class. I can turn it into a function. I prefer to-do that when poss 阅读全文
posted @ 2016-01-27 20:18 Zhentiw 阅读(202) 评论(0) 推荐(0)
摘要: Code to be refactored: let nextTodoId = 0; class TodoApp extends Component { render() { const { todos, visibilityFilter } = this.props; const visibleT 阅读全文
posted @ 2016-01-27 20:10 Zhentiw 阅读(322) 评论(0) 推荐(0)
摘要: Code to be refactored: let nextTodoId = 0; class TodoApp extends Component { render() { const { todos, visibilityFilter } = this.props; const visibleT 阅读全文
posted @ 2016-01-27 19:09 Zhentiw 阅读(220) 评论(0) 推荐(0)
摘要: The code to be refactored: let nextTodoId = 0; class TodoApp extends Component { render() { const { todos, visibilityFilter } = this.props; const visi 阅读全文
posted @ 2016-01-27 18:22 Zhentiw 阅读(197) 评论(0) 推荐(0)
摘要: Javascript with Chorme v8 engine works like this :For Chorme engine, v8, it has call stack.And all the async opreations functions are stay in webapis.... 阅读全文
posted @ 2016-01-26 21:12 Zhentiw 阅读(919) 评论(0) 推荐(0)
摘要: Every time when a function run it will be push into the call stack and put on the top, you can think call stack is something like a heap... Javascirpt... 阅读全文
posted @ 2016-01-26 20:44 Zhentiw 阅读(558) 评论(0) 推荐(0)
摘要: The guiding principle in Cycle.js is we want to separate logic from effects. This first part here was logical, and this second part here was effects. ... 阅读全文
posted @ 2016-01-26 19:09 Zhentiw 阅读(179) 评论(0) 推荐(0)
上一页 1 ··· 443 444 445 446 447 448 449 450 451 ··· 497 下一页