How to create an Array in JavaScript?

How to create an Array in JavaScript?

Team Leader Asked on June 16, 2017 in JAVASCRIPT.
Add Comment
1 Answer(s)
    <script type="text/javascript">
    
    var arr1 = [];
    
    var nums = [1, 2, 3, 4, 5, 6];
    
    var cars = ["Audi", "Volvo", "BMW"];
    </script>
    
    Team Leader Answered on June 16, 2017.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.