+ 1
Can you explain fun clearly
6 Respostas
+ 9
Fun?
Spongebob:
F is for Friends who do stuff together.
U is for You and me.
N is for Anywhere and anytime at all.
Sea Creatures:
Down here in the deep blue sea!
Plankton:
F is for Fire that burns down the whole town.
U is for URANIUM...BOMBS!
N is for No survivors when you're-
Spongebob:
Plankton! Those things aren't what fun is all about!
Now, do it like this,
F is for Friends who do stuff to-
Plankton:
Never! That's completely idiotic!
Spongebob:
Here, Let me help you...
F is for friends who do stuff together.
U is for You and me, TRY IT!
Plankton:
N is for Anywhere and anytime at all.
Sea Creatures:
Down here in the deep blue sea!
+ 6
Parameters are things you want to know in your function, for examle if you have the following
function print(message) {
alert(message)
}
message is the parameter in this example, you want to know a value for it so that you can use it in your function.
If you now invoke or call the function, you can give it one argument.
print("hello")
The argument is "hello" and the function print has the parameter message so in that function the variable message will contain "hello" as its value.
+ 4
Or functions?
function funcName(parameters)
for example:
function myFunc(str) {
alert(str) <--------|
}
if you call the function like this:
myFunc("hi")
The output will be an alert saying "hi"
+ 1
WHAT IS MEAN PARAMETERS ?
+ 1
SHOT CODE FUNCTIONS ?
0
WHAT IS PROTO TYPES CAN ANY EXPLAIN IT
PLEASE ?