Software programing
رفتن به کانال در Telegram
This is a channel which gives tutorial on different programming languages, android tips and tricks best apps etc...
نمایش بیشتر1 471
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
آرشیو پست ها
1 471
Variables are special places to store to store data by declaring it first or after storing a data in it.
It is unusual and non working pre-declaration of variable in JavaScript.
1 471
Okay bro I showed some basics. But I am going pass to variable. I only show u basics work on the details by ur self.
1 471
Spacing
spacing is not big issue in many cases
Example
window.alert("hi");
And
window.alert ("hi");
are the same
spacing inside the brackets or braces have so much change.
1 471
Case sensitive
That means in JavaScript ball and Ball are two different things .(u can see here that JavaScript is unlike HTML since HTML is case sensitive)
1 471
Semi colon (;) are the symbols to end a statement but are not much necessary in JavaScript if u are writing the code statement on separated lines.
example...
var a=10;
var b=30;
The above statement is the same as
var a=10
var b=30
How ever if u need to write the code on the same line u must put the semicolon as the following
var a=10;var b=30;
1 471
Enabling JavaScript
If u still couldn't launch JavaScript ....
Go to setting of the browser the click on "advanced" then tick on "Enable JavaScript"or simply"script" and "JavaScript"
