Name some of the built-in methods and the values returned by them.
Answer / Shyam Sunder Trivedi
In JavaScript, here are some built-in methods and their return values:n* String methods: length (returns the number of characters in a string), charAt(index) (returns a single character at the specified index).n* Array methods: push(value) (adds a new element to the end of an array, returns the new length), pop() (removes the last element from an array and returns it).n* Math methods: random() (generates a random number between 0 and 1), round(number) (rounds a number to the nearest integer).
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the requirements of web application using javascript?
What is difference between java and javascript?
Where do I put javascript in html?
Is javascript free to install?
what is runnable interface
What is closure?
how to disable source option at view menu in browser like internet explorer...mozilla...etc..pls help me...
what is syntax of wapper class
What is the relationship between JavaScript and ECMAScript?
Which javascript framework is in demand?
What is triple dot in javascript?
What is difference between local and global scope in javascript ?