JavaScript 入門小技巧(Statements篇)

 


小知識教學類型: 網頁設計、網站製作

 

編寫網站程式,前文說過JavaScript絕對是三劍俠之一,主要用於client side,但又有很多端口和方法可以與server side聯繫!

 

今次和大家說說入門的小技巧Statements篇:

 

JavaScript Statements: 每一行以;結尾的JavaScript程式段,都可以說是一Statement,例如

let a, x, y, z;

x = 5;

y = 7;

z = 88;

a = x + y + z;

以上的JavaScript程式段便是有4個Statements。

 

很多時,電腦程式我們會叫做instructions,而JavaScript的instructions8就是指Statements。所以JavaScript程式便是指一連串的JavaScript Statements的整合。

 

 Read also our another Blogs-

 

https://weibo.com/compbrother

https://www.behance.net/Compbrotherhk

https://www.pinterest.com/comprbrotherpin/

https://www.youtube.com/watch?v=zNuWEoWNxbA

https://compbrother.wordpress.com/

https://sketchfab.com/Compbrotherhk

https://twitter.com/compbrotherltd

https://slides.com/compbrotherhk

https://compbrother.medium.com/

https://www.slideserve.com/Compbrotherhk

https://www.flickr.com/photos/compbrother/

https://linknest.com/31747/

https://compbrother.pixnet.net/blog

https://compbrotherhk.blogspot.com/

https://compbrotherblog.wordpress.com/

https://issuu.com/compbrotherhk

Comments

Popular posts from this blog

如何宣傳推廣手機遊戲

3個速效 Google Yahoo SEO 優化小技巧 (上篇)