If we want to return the character from a specific index which method is used?



If we want to return the character from a specific index which method is used?..

Answer / Kavita Bhasker

To get a character from a specific index of a string, you can use the square bracket notation: stringVariable[index]

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What is the difference between undefined and not defined in JavaScript?

1 Answers  


How do you check if a value is a number in javascript?

1 Answers  


Where are cookies actually stored on the hard disk?

1 Answers  


What are the data types available in javascript? Explain

1 Answers  


What is this? Var myarray = [[[]]];

1 Answers  


What are the five data types?

1 Answers  


How do I retrieve a cookie with a given name using a regular expression?

1 Answers  


How many data types are there in javascript?

1 Answers  


Difference between window.onload and onDocumentReady?

1 Answers  


What is spread syntax?

1 Answers  


How do you create a new object in JavaScript?

3 Answers   Satyam,


What is event target in javascript?

1 Answers  


Categories