Returns the last position of an element in the arrayĬut a portion of one array and put it in a new arrayĪdd elements to an array in a specific manner and positionĪdd new element to the array in the beginningĪdd new element to the array as the last one Returns the index (first position) of an element in the array Joins all the elements of one array as a string Eg, var subjectlist = Arrays can perform the following functions: Functions let – can be used only within the block its declared, can be reassignedĬontains single object of various data types – Eg, var student = Īrrays group similar kinds of data together.can be accessed within the function where declared. Variables – values that hold data to perform calculations or other operations There are two types of comments: // this is a single line comment /* this is a multiple line comment when you have to write a lot of things */
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |