For example, I have an array = []. I want to restrict the array length. How should I initialize it? Is there anything for restricting the size?in Javascript i cant make it? i have a JSON data with 250 length,i want them to restrict to first 20 values?
            Asked
            
        
        
            Active
            
        
            Viewed 79 times
        
    0
            
            
         
    
    
        madhavsai bhushan
        
- 263
- 1
- 15
