���饤�꡼�����ͤ�긥�ܸ��顣
JavaScript�ѥ�����
Stoyan Stefanov / Ëʡ����
[����:JavaScript�ѥ�����]
�ԤäƤޤ���!
���줳����������JavaScript��
��JavaScript: The Good Parts�פ���JavaScript��������٤��פȤ�������ʤ顢������ϡ�JavaScript�����񤯤٤��פȤ���������ץ�JavaScripters��ɬ�ȡ�
�ܽ��JavaScript�ѥ������פϡ��֤ʤ�Ǥ⤢��פǤ��뤬�椨�ˡ֤ʤˤ��ʤ�����狼��ʤ��ä���JavaScript��������֤����Ť��Ƥ����װ����
���ƾҲ�JavaScript�ˤĤ��Ƥϰ��̤�ޥ�������������Ԥ�����˾���ܻؤ�����ι��٤Ǥ���Í�Ѥʥƥ��˥å����������Ǥ��ޤ���
�Ȥ����Τ�����������ɡ������Ф�����⾯�����˼�꤫���ä��ߤ�������Head First JavaScript�פμ�������ˤϡ�
������ѥ�����򷫤��֤����ߤ����ʤ����顣
�ܼ� - O'Reilly Japan - JavaScript�ѥ��������
|
|
�㤨�С��������Х��ѿ���ɤ����뤫��
��¸�ΤΤȤ��ꡢJavaScript�Ǥ�var���դ��ʤ��¤ꤽ��ϥ������Х��ѿ��ˤʤ롣���Τ�����Ϥ��󤶤��JavaScript: The Good Parts�פ� Douglas Crockford �� Dis �äƤ��뤳�ȤǤϤ��뤱��ɡ���ڤ��Ƥ��ޤä���Τϻ������ʤ���Perl���ä�use strict;
����ڤ���ޤǤ����ֻ��֤������ä����������� ECMAScript 5 ��"use strict";
��⤿�餹�ΤϤ��줫�����
�Ȥꤢ����var
��Ĥ��ޤ���ΤϤ����Ȥ��ơ��������Х��ѿ�������Ū�˻Ȥ��ˤϤɤ�������Τ���window
�����Ѥ���?�֥饦�����Ϥ褯�Ƥ�node.js�Ȥ��Ϥ����ϹԤ��ʤ���
var global = (function(){ return this; })();
�������ԤäƤ롣�����������"use strict";
�ǤϤ��ޤ��Ԥ��ʤ����ǤϤɤ�����?
�������������
(function(global){ var foo = 1, bar = 2, // �� /* more lines of codes */ })(this);
jQuery�ʤɤ⡢������󤳤����Ƥ��롣
�ܽ�ˤϤ��������֤���ʤȤ��ɤ�����פȤ����ѥ����󤬤����Ĥ�ФƤ��롣�����Υѥ�����Ϻ��������Ф��褿�ΤǤϤʤ���������� JavaScripters ����Ժ���������̳���������Τ����Τ�ʤ��Ƥ�ư�������ɤϽñ¤±¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Î¤Ã¤Æ¤ï¿½ï¿½ï¿½Î¤ï¿½ï¿½Î¤ï¿½Ê¤ï¿½ï¿½Î¤Ç¤Ï¡ï¿½ï¿½ñ¤¤ä¤¹ï¿½ï¿½ï¿½È½ï¿½Ä¾ï¿½ï¿½ï¿½ä¤¹ï¿½ï¿½ï¿½ï¿½ï¿½È¤ï¿½ï¿½Ë¸ï¿½Ô¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ã¤¦ï¿½ï¿½ï¿½Ñ¥ï¿½ï¿½ï¿½ï¿½ï¿½Ï¼ï¿½ï¿½Ø¤ï¿½ï¿½ï¿½È¯ï¿½ï¿½ï¿½ï¿½ï¿½Ë¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½È¤ï¿½Í¤ï¿½ï¿½ï¿½Ð¡ï¿½ï¿½ï¿½ï¿½ï¿½Ô¤Ë¤Ê¤ï¿½Î¤ï¿½ï¿½Ô¤ï¿½ï¿½ï¿½ï¿½Ë¿È¤Ë¤Ä¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½
���줫�� JavaScript �򽬤��ͤ��������������ޤ������ޤ�DOM��ʤ��ä��������äƤ����ͤ���������Ǥɤ�ۤɶ줷�ߡ������Ƥɤ�ۤ�JavaScript����򤷤����Ȥ����ȤϤ���������ϼ��Ѹ��줬��������̤ä��褿ƻ�Ǥ⤢�롣�Ϥ��ᤫ��ƻ��Ĥ��褦�Ȥ�������Ϥޤ��������ʤ���Python�Ǥ��������㳰�ǤϤʤ����Ȥϡ��������߷׼Ԥ������ͤ��뤳���פ��ɤ�Ф狼�롣ƻ�����뤫��ͤ��̤�ΤǤϤʤ����ͤ��̤ä��Ȥ�����ƻ�ˤʤ�Τ���
�̤�ʤ顢����ƻ��
Dan the Good Old JavaScripter
���Υ֥����˥����Ȥ���ˤ�����������ɬ�פǤ���
��������������
���ε����ˤϵ��ĥ桼�����������Ȥ��Ǥ��ޤ���