Functions

Array:

  • array.slice(start, end):
    var fruits = [“Banana”, “Orange”, “Lemon”, “Apple”, “Mango”];
    var citrus = fruits.slice(1,3);
    Output: Orange,Lemon

One thought on “Functions

  1. What a stuff of un-ambiguity and preserveness
    of valuable knowledge concerning unpredicted feelings.

Comments are closed.