Variable


JavaScript ������͹���ҷ������¹���������� �ç����յ��������Ѻ�纤�� �ҡ��ǹ˹�觢ͧ Program ���ǡ����������ǹ������ ����á��� ���ͷ����ҡ�˹����������Ѻ�纤�� ���ҧ�� ����Ҩ��˹�����ê������ imageName ������纪�������Ҿ�˹�� ���� �Ҩ��˹���� amount ��纨ӹǹ��� �繵�

������ ���ͧ͢������ JavaScript ����ö��鹵鹴��µ���ѡ���˭� (A-Z) ����ѡ����� (a-z) ��� ����ͧ���� _ ������� ����ѡ�� ����Ţ ���� ����ͧ���� _ ����
������ҧ���͵���÷��١��ͧ
orderNumber2
_456
SUM
Image32
Amount_Click

��ͤ�è� ���͵����� JavaScript ������Ǵ㹡�������ѡ���˭���硴��� �� Sum SUM sum �ж���������繵�������ǡѹ��

Types and Variable
� ������ ��觷���ҧ�ҡ Java ��� ���Һҧ���Ҥ�� ��������� JavaScript �����繵�ͧ��˹���Դ�ͧ����� ��� JavaScript ������ö������ͧ��� 㹡�ùӵ��������� �س��ͧ�������ѹ�繵���ê�Դ�˹ �蹶�Ҽ���˹� ������� Ahha �դ���� 1 ����� Ahha �Ҩ��������� True �� ��Ҥس���ѹ�㹷ҧ��á �����Ҩ���� 1.0000 ���� ���������öẺ�������º����͹�Һ 2 �� ���˹�� �س����ö�����������ҧ����� ��������բ�ͨӡѴ㹴�ҹ��Դ����� �����ա��˹֧ �س��ͧ������� ����âͧ�س���繪�Դ�˹����Т�鹵͹�ͧ��äӹǹ
Types and Literal Value
JavaScript ʹѺʹع����������纤�Ң����� 4 ��Դ���
Integer ����Ţ�ӹǹ���
Floating-point numbers ����Ţ�ӹǹ��ԧ
Logic or boolean values ��͵�á(�դ����١�Ѻ�Դ)
String ��͢�ͤ���

Number Types:Integer and Floating-Point Numbers
㹡�÷ӧҹ�Ѻ����Ţ JavaScript ����öʹѺʹع���� Integer ��� Float �·�� 2 ��Դ ����ö �ŧ��ҡѹ�����ѵ��ѵ�

����� Integer � JavaScript ��������ٻ�ͧ�Ţ�ҹ�� 3 �ҹ ��� 10 ,8 ��� 16

�����ҹ 10 �»������ǵ���Ţ������ JavaScript �����Ţ�ҹ 10 ��������
�����ҹ 8 �����Ţⴴ������ 8 ��� ��� 0-7 �����¹�Ţ�ҹ 8 ���� 0 ��˹��
�����ҹ 16 �����Ţⴴ���� 16 ��� ��� 0-9 ����� A-F ᷹ 10 - 15 �����¹�Ţ�ҹ 16 ���� 0x ��˹�� �����������ҧ���仹���ʴ������繡���� �Ţ�ҹ��Ѻ

<html> <!-- ARCHIVE by GEOCITIES.WS --> <head> <title>Using JavaScript Integer</title> </head> <body><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <script language="javascript"> <!-- document.write("0xab00 + 0xcd = "); document.write(0xab00 + 0xcd); document.write("<br>"); document.write("0xff - 0123 = "); document.write(0xff - 0123); document.write("<br>"); document.write("-0x12 = "); document.write(-0x12); // --> </script> </body> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </html>
��ǹ Float ����Ѻ �Ţ�ȹ������� �Ţ����դ���ҡ���й����ҡ樹��ͧ��¹��ٻ�ͧ�Ţ¡���ѧ ��
-4.2132
55.
12e2 (��ҹ��� 12 �ٳ 10 ¡���ѧ 2)
1e-1 (��ҹ��� 1 �ٳ 10 ¡���ѧ -1)
.5
-4e-4
������ҧ��������仹�� �繡���� Floating-Point number ��Ѻ
<html> <!-- ARCHIVE by GEOCITIES.WS --> <head> <title>Using floating - point number</title> </head> <body><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <script language="JavaScript"> <!-- document.write(-5.465); document.write("<br>"); document.write(57.); document.write("<br>"); document.write(12e2); document.write("<br>"); document.write(1e-2); document.write("<br>"); document.write(7e1); document.write("<br>"); document.write(-6e-2); document.write("<br>"); document.write(.8); document.write("<br>"); // --> </script> </body> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </html>
Logical Values
����͡����͡��� JavaScript �դ�������ö㹡������¹��Դ��������ѵ��ѵ��������Ѻ ����ͧ��´���Ҥ�ҵ���ê�Դ����繵�á ��� True ��� False �ж١᷹�����¤������ ����ѹ �١��Ẻ�Ţ�ӹǹ���

������ҧ���仹����ʴ���������� Boolean ����ö����¹�� Integer ���Ѻ

<html> <!-- ARCHIVE by GEOCITIES.WS --> <head> <title>Conversation of logical values to numeric values</title> </head> <body><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <script language="JavaScript"> <!-- document.write("true*5 + false *7 = "); document.write(true*5 + false *7); // --> </script> </body> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </html>
String Value
�������ѡ�ա���˹�觡��� String ���͢�ͤ���������Ф�Ѻ �������ҵ���� String � JavaScript ���������ͧ���� " ���� ' ����� ��ͤ��������
"Hello String"
"I am String"
�ѭ�ҡ���Դ�ç�����Ҷ����ҵ�ͧ�����¹����ͧ���� ' ���� " � String ��� �з����ҧ�� ���շҧ������ 2 �Ըդ�Ѻ �Ը��á ��� ��ҵ�ͧ����ʴ� ' ������§��� " �繵�Ǥ������ ��
"What's New"
���Ͷ�ҵ�ͧ����ʴ���� 2 ��Ǿ�����ѹ���ͧ�� �ѭ�ѡɳ�������᷹ (������Ѻ�� < ��᷹ < � HTML)
��Ҩ��� \" ��᷹ " ��� \' ��᷹ ' ��Ѻ �٨ҡ������ҧ�Ф�Ѻ <html> <!-- ARCHIVE by GEOCITIES.WS --> <head><title>Using quote within string</title></head> <body><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <script language="JavaScript"> <!-- document.write("He said, \"That 's mine!\"<br>"); document.write('She said, "No it\'s not."<br>'); document.write('That \'s all folks!'); //--> </script> </body> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </html>

�͡�ҡ��� JavaScript �ѧ���ѭ�ѡɳ����ɷ���Ӥѭ�ա 2 ��� ���

\n��鹺�÷Ѵ����
\tTab

������ҧ����� \n ��� \t ��Ѻ
<HTML> <!-- ARCHIVE by GEOCITIES.WS --> <HEAD> <TITLE>Using special formatting characters</TITLE> </HEAD> <BODY><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <PRE> <SCRIPT LANGUAGE="JavaScript"> <!-- document.write("This shows how the \ttab character works.\n") document.write("This shows how the \nnew line character works.\n") // --> </SCRIPT> </PRE> </BODY> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </HTML>

The null Value
��� null ���ͤ����ҧ���� ����ѧ����դ����������㹵���� �ѧ��� �������һ�С�ȵ���� ����ҵ��˹֧������˹������� ����ù�鹨��դ���� null �ѹ�� ��Ф�� null ����ö����¹��Դ� ���ʶҹ��ó�������͹����÷�����

�����յ��ҧ��äӹǹ���µ���õ�ҧ��Դ�ҽҡ��Ѻ

Conversation Function
JavaScript ����ö�ç��ҧ����������ԧ�����Ѻ ��Ҽ����Ţ�ѡ��� �ѹ�������¹�� String �� ��Ҽ����� + �Ѻ��ͤ��� ��ҡ���ҧ������� ���������� string "12.34" ����繢�ͤ�������繵���Ţ �������ö�ŧ��ҧ����� ���� JavaScript ���������١���������÷�������ѹ �� Float ���� String �ѧ�����Ҩ֧��ͧ�� Function 㹡���ŧ��Ѻ
JavaScript ��˹� Function ����� 3 ��Ǥ�Ѻ��� eval(),parseInt(), ��� parseFloat()

eval() ����㹡������¹ String ���������ٻ���������繤�Ңͧ���Ѿ���� total=eval("432.1*10") Total ����դ���� 4321 ��ж�Ҥ�Ңͧ��ͤ��� �繤�ҷ���������ö�ŧ�� �� testxyz eval() ��������㴤�ҡ�Ѻ�� �ѧ��� ��Ҩ��� eval() ����ͧ�����Ң����ŷ��л�͹��� eval() ������բ����ŷ�������Դ error ����

parseInt() ��������¹��ͤ������Ţ�ӹǹ������������͹�Ѻ eval() �ç��� �ѹ���ŧ���੾�е���Ţ�������˹���ش�ͧ������������ʹ㨢������š������� �� parseInt("123xyz") ���������� 123 ��� parseInt("xyz") ���������� 0

parseFloat() ������ parseInt() ��Ѻ �����պ�Ţ����� Float

����͹�����Ѻ �٨ҡ������ҧ���ͧ��µ�͡�����㨤�Ѻ

<HTML> <!-- ARCHIVE by GEOCITIES.WS --> <HEAD> <TITLE>Using Explicit Conversion Functions</TITLE> </HEAD> <BODY><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <H1 ALIGN="CENTER">Using Explicit Conversion Functions</H1> <SCRIPT LANGUAGE="JavaScript"><!-- document.write('eval("12.34*10") = ') document.write(eval("12.34*10")) document.write("<BR>") document.write('parseInt("0x10") = ') document.write(parseInt("0x10")) document.write("<BR>") document.write('parseFloat("5.4321e6") = ') document.write(parseFloat("5.4321e6")) // --></SCRIPT> </BODY> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </HTML>
Complex Type
�͡�ҡ����þ�鹰ҹ 4 ��Դ���� JavaScript ���ѧ�յ���� ������ա 2 ��Դ��� Array ��� Object
Array
Array ���͢�����������������§�ѹ���ӴѺ ������ҧ�� ��Ҥس��ͧ����ʴ����ͧ͢�١��� 5 ��(�ѧ����������ؤ IMF) �� WebPage �ͧ�س�س���С�� Array ���� employee ����բ����� 5 ��� �ѧ���

employee = new Array(5)

�ҡ��鹡���Ҫ����١���������� Array

employee = new Array(5)<br> employee[0] = "Bill"<br> employee[1] = "Bob"<br> employee[2] = "Ted"<br> employee[3] = "Alice"<br> employee[4] = "Sue"<br>

���������ʴ��š��� document.write()

document.write(employee[0]+"<BR>") document.write(employee[1]+"<BR>") document.write(employee[2]+"<BR>") document.write(employee[3]+"<BR>") document.write(employee[4])

����͹�����¹���������ҧ����� Array ��Ѻ

<HTML> <!-- ARCHIVE by GEOCITIES.WS --> <HEAD> <TITLE>Using Arrays</TITLE> </HEAD> <BODY><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <H1 ALIGN="CENTER">Using Arrays</H1> <SCRIPT LANGUAGE="JavaScript"><!-- employee = new Array(5) employee[0] = "Bill" employee[1] = "Bob" employee[2] = "Ted" employee[3] = "Alice" employee[4] = "Sue" document.write(employee[0]+"<BR>") document.write(employee[1]+"<BR>") document.write(employee[2]+"<BR>") document.write(employee[3]+"<BR>") document.write(employee[4]) // --></SCRIPT> </BODY> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </HTML>
�ҡ������ҧ��ҧ�� Array �١��˹� length ����� 5 �� 㹡�����ԧ���� ��������繵�ͧ��˹� length ������ length ���״��ع����������ӴѺ�ش���� �� ��Ҽ���˹�
employee = new array()
���ǡ������ employee[10] = "Sowrawoot"
employee.length ����դ�� 11 (�Ѻ employee[0] �繵�Ƿ�� 1) ��Ш�����¹������������� ����ӴѺ�ͧ�����ŵ���ش���¤�Ѻ

Constructing Dense Array
dense array ���� Array ���١��˹���Ңͧ�������������͹��С�� Array ��� ��
DayOfWeek = new Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat')
array.length ����դ���� 7 ����բ������� string ��� 3 ����ѡ�ä�Ѻ

The Element of an Array
JavaScript �����ӡѴ��Ң������ Array �е�ͧ�繪�Դ���ǡѹ �ѹ�Ҩ�� �����ŵ�ҧ��Դ�ѹ���� ��Ш��� Array �����Ѻ ����� Array ���� Array �� Array ��͹ Array �� ������ҧ�֧��з�Ẻ����Ѻ ArrayName[�ӴѺ�ͧ Array ����˭�][�ӴѺ�ͧ����] ������ҧ���仨��ʴ������繶֧����������ŵ�ҧ檹Դ�ѹŧ� Array ��С���� Array ��͹ Array ��Ѻ

<HTML> <!-- ARCHIVE by GEOCITIES.WS --> <HEAD> <TITLE>Arrays within Arrays</TITLE> </HEAD> <BODY><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <H1 ALIGN="CENTER">Arrays within Arrays</H1> <SCRIPT LANGUAGE="JavaScript"><!-- junk = new Array("s1",'s2',4,3.5,true,false,null,new Array(5,6,7)) document.write("junk[0] = "+junk[0]+"<BR>") document.write("junk[1] = "+junk[1]+"<BR>") document.write("junk[2] = "+junk[2]+"<BR>") document.write("junk[3] = "+junk[3]+"<BR>") document.write("junk[4] = "+junk[4]+"<BR>") document.write("junk[5] = "+junk[5]+"<BR>") document.write("junk[6] = "+junk[6]+"<BR>") document.write("junk[7][0] = "+junk[7][0]+"<BR>") document.write("junk[7][1] = "+junk[7][1]+"<BR>") document.write("junk[7][2] = "+junk[7][2]) // --> </SCRIPT>

�稺��ա 1 ���Ф�Ѻ �͹�����ѧ��� JavaScript ��������������͡��Ѻ �ç��������鹰ҹ�ͧ JavaScript ��ҹ���ͧ �����Ҿ�����͹��Ѻ �ա���ҹ�س ����� JavaScript ��ͧ�ط��ѡ������� ��ҵԴ�Ѵ����˹�� e-mail ����Ф�Ѻ ���Թ�յͺ�Ӷ����Ѻ