開発環境
- OS X Lion - Apple(OS)
- Safari (Webプラウザ)
- TextWrangler(Text Editor) (BBEditの無料、light版)
- Script言語:JavaScript
- JavaScript Library: jQuery
独習JavaScript 高橋 和也 (著), 竹添 直樹 (著), 里見 知宏 (著) の第6章(関数)の理解度チェックを解いてみる。
その他参考書籍
- JavaScript 第5版 David Flanagan (著), 村上 列 (翻訳)
- JavaScriptクイックリファレンス David Flanagan (著), 木下 哲也 (翻訳), 福龍興業 (翻訳)
1.
文字列:コード(TextWrangler)
function split_comma(str){ var array = str.split(','); return array; } var str = $('#t0').val(); var array = split_comma(str); var result = ""; for(var i = 0 ; i < array.length; i++){ result += i + ": " + array[i] + "<br />"; } $('#pre0').html(result);
2.
文字列:var split_slash = function(str){ var array = str.split("/"); return array; }; var str = $('#t1').val(); var array = split_slash(str); var result = ""; for(var i = 0 ; i < array.length; i++){ result += i + ": " + array[i] + "<br />"; } $('#pre1').html(result);
1 コメント :
What annoys my family some of the most with these kind of wrist watches is definitely you don't only pay with the actual system wax replica watches, therefore, you give for those online marketing in addition to adverts and additionally sponsorships which usually go into these folks. By having a look at fake watches, things really are a ton simplier and easier, nearly as they should be: everyone pay money for this see and therefore the follow only. It really is expressed by expert watchmakers, making use of the identical items, without any subsequent concession with quality. Those watchmen will be the authentic heroes, because they understand what method to turn out to be liked plus adore to discover their creations appearing cherished from the greatest number of many people doable. Whenever most people come up with running watches, many think about the wrong way prepared China imitations from some sort. But for a good number of a long time, that isn't true nowadays. With the industry newly released thrive, those wrist watches usually are created in order to meet consumers, guaranteeing that they bring back pertaining to various purchase. The times the moment ordering timepieces required having tricked will be solution driving individuals. Any different watches are identifiable by using good quality. Every single one ones might be designed primarily by using high-quality under consideration http://www.attrinity.com. Qualified watchmakers devote hours and hours time exclusively to be certain that the tip unit is really a ok timepiece, indistinguishable belonging to the original, when put 1 alongside the additional. Following causing that construction range, the particular wrist watches really have to go away an unusually no-nonsense good command course of action, to make sure just those that truly happen to be faultless grasp the consumer, web page satisfied buyer can be described as going buyer.
コメントを投稿