Ruby's Louvre

每天学习一点点算法

导航

2010年8月14日 #

Ryan Dahl Interview: Part 2

摘要: This interview was conducted by Oleg Podsechin with Ryan Dahl on the 8th of July, shortly after Ryan’s talk in Cologne. Oleg is a JavaScript enthusiast who runs Ionsquare Ltd, an IT consultancy... 阅读全文

posted @ 2010-08-14 20:13 司徒正美 阅读(347) 评论(0) 推荐(1) 编辑

Ryan Dahl Interview: Part 1

摘要: This interview was conducted by Oleg Podsechin with Ryan Dahl on the 8th of July, shortly after Ryan’s talk in Cologne. Oleg is a JavaScript enthusiast who runs Ionsquare Ltd, an IT consultancy... 阅读全文

posted @ 2010-08-14 20:12 司徒正美 阅读(430) 评论(0) 推荐(1) 编辑

A Comparison of JavaScript Engines

摘要: When I was writing the History of JavaScript series I collected a lot of notes about JavaScript interpreters. If you’re wondering why people keep talking about V8 engines, monkeys and rhinos, r... 阅读全文

posted @ 2010-08-14 20:01 司徒正美 阅读(235) 评论(0) 推荐(0) 编辑

rsplit函数

摘要: 类似split函数,但保留切割符。var rsplit = function( string, regex ) { var result = regex.exec(string), retArr = [], first_idx, last_idx; while ( result !== null ) { first_idx = result.index; last_idx = regex.lastIndex; if ( first_idx !== 0 ) { retArr.push(string.substring(0, first_idx)); string = string.slice(f 阅读全文

posted @ 2010-08-14 09:22 司徒正美 阅读(2318) 评论(0) 推荐(0) 编辑