Oliver Steele lives in Western Massachusetts and commutes to downtown LA, where he is bringing an operating system from handwaving to reality. He was the architect of OpenLaszlo, the author of PyWordNet and other open source projects. His interests include programming languages, knowledge representation, information visualization, and math education. [more]
[...] Jul 27th, 2007 by kiterminal วันนี้บังเà¸à¸´à¸à¹„ปเจภBlog ขà¸à¸‡ Oliver Steele ซึ่งเค้าไปทำ Functional JavaScript ไว้ ลà¸à¸‡à¸¡à¸²à¸”ูตัวà¸à¸¢à¹ˆà¸²à¸‡à¸—ี่เค้าทำให้ดูละà¸à¸±à¸™ map(function(x){return x+1}, [1,2,3]) -> [2,3,4] filter(function(x){return x>2}, [1,2,3,4]] -> [3,4] some(function(w){return w.length < 3}, ‘are there any short words?’.split(’ ‘)) -> false // double the items in a list: map(’*2′, [1,2,3]) -> [2, 4, 6] // find just the odd numbers: filter(’%2′, [1,2,3,4]) -> [1, 3] // or just the evens: filter(not(’%2′), [1,2,3,4]) -> [2, 4] ทั้งนี้เค้ายังได้ทำ API documentation ไว้ให้à¸à¹ˆà¸²à¸™à¹à¸¥à¸°à¸¨à¸¶à¸à¸©à¸²à¸à¸±à¸™à¸”้วย [...]