03 2017 档案

摘要:1) Loop for N times 2) Loop through a collection and return a deeply-nested property from each item 3) Create an array of N size and populate them wit 阅读全文
posted @ 2017-03-17 17:18 戴杭林 阅读(823) 评论(0) 推荐(0) 编辑
摘要:1. (x) -> 'bar foo'.replace( /(..) (...)/, '$2 $1' ) -> "bfoo ar" 2. (x) -> "foo bar foo bar".match(/(bar) (foo)/, '$2 $1'); -> ["bar foo", "bar", "fo 阅读全文
posted @ 2017-03-10 11:29 戴杭林 阅读(134) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示