logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How to create arrays in JavaScript?


  • Correct Answer
  • Arrays are created by using new Array() in Java Script For example : var employees = new Array(); The elements to this array is assigned as follows : employees[0] = "Kumar" employees[1] = "Fedrick" 


  • Technology problems


    Search Results


    • 1. How to read and write a file using javascript?
    • Discuss
    • 2. What does isNaN function do?
    • Discuss
    • 3. What are windows object and navigator object in JavaScript?
    • Discuss
    • 4. What is decodeURI(), encodeURI() in JavaScript?
    • Discuss
    • 5. How to set the cursor to wait in JavaScript?
    • Discuss
    • 6. What are Math Constants and Functions using JavaScript?
    • Discuss
    • 7. What is Shift() method in Javascript?
    • Discuss
    • 8. Explain VBScript in detail.
    • Discuss
    • 9. .What are the different types of environments available in the web?
    • Discuss
    • 10. What is website?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment