[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Beginner JavaScript Tutorial – 31 – join and pop
by
Tags:
Comments
20 responses to “Beginner JavaScript Tutorial – 31 – join and pop”
-
can any one tell me why the variable name As "name" does not accept in java script.for example if i write a code
var name= new Array("Ash","Ashish","abhinav","kumar");
var string = name.join();
document.write(string);this code will not generate desire output but if i will use the variable such as "people" rather than "name" then it will generate output.
i.e
var people = new Array("Ash","Ashish","abhinav","kumar");
var string = people.join();
document.write(string);output:Ash,Ashish,abhinav,kumar
-
you like ham but ham is also unhealthy doctor say that
-
thank you bucky roberts
-
Wow great explaination bucky!!!! Does anyone knows how to take input from user in javascript not forms.
-
Avatar Will Vanilla Fight
-
go ahead and write the name of your shtring
-
if anyone can help me with this.
what pop();
is used for why do i create an array then use pop to remove the last one ??? -
thank you for the tutorial!! question, is all of this valid in 2017?
-
why to convert an array into a string?
-
pretty cool huh 😛
-
don't talk about undefined.
-
STRIENG
-
Pretty much cool 😀
-
oh because of i forgot " " when giving value to movies.join( – ) , my code couldn't get printed . took so long to realize that .
-
You can also do the opposite to convert a string to array. Example:
var string1 = "tuna – ham – bacon";
var groceryList = string1.split(" – ");now groceryList is an Array object with "tuna", "ham", "bacon"
🙂 -
is this series of tutorial enough ?
-
When he said P- O – P I had to say "HOLD IT DOWN MOMMA I LOVE YOU"
-
why put <br/> in quotation marks?
Leave a Reply