10/4/2023 0 Comments Creative labs sb0770 driverRemoved = colors.splice(1, 0, "Pink", "Yellow") // Insert two items at position oneĭocument.write(colors) // Prints: Green,Pink,Yellow,Blueĭocument.write(removed.length) // Prints: 0 Var removed = colors.splice(0,1) // Remove the first elementĭocument.write(colors) // Prints: Green,Blueĭocument.write(removed) // Prints: Red (one item array)ĭocument.write(removed.length) // Prints: 1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |