skip to main
|
skip to sidebar
readyStudyGo
間違える為のブログ。
2012年4月21日土曜日
メモ:シンタックスシュガー
シンタックスシュガーとは同じ結果を返すのに、記法が違うプログラムのこと。
var a = new Array(3); a.push(1, 2, 3);
と
var a = [1, 2, 3];
は同じらしい。
参考:
http://xole.net/20110309.html#slide15
0 コメント:
コメントを投稿
次の投稿
前の投稿
ホーム
登録:
コメントの投稿 (Atom)
Search
Labels
sublime text 2
(1)
Wordpress
(1)
カスタマイズ
(1)
Blog Archive
▼
2012
(2)
▼
4月
(2)
JSメモ:関数リテラル=無名関数 or 匿名関数
メモ:シンタックスシュガー
►
2011
(4)
►
9月
(2)
►
6月
(2)
自己紹介
taku hihara
TechnicalMemoBlog: http://ready-study-go.blogspot.com/ Twitter: http://twitter.com/bluesbuger/ Tumblr: http://grand-love.tumblr.com/ GitHub: https://github.com/takuhito-h
詳細プロフィールを表示
Powered by
Blogger
.
Copyright ©
readyStudyGo
| All rights reserved | Blogger template created by
Templates Block
| Design by
CSSJockey
0 コメント:
コメントを投稿