protocol with string array in swift 5 code example
Example 1: array swift
var students = ["Ben", "Ivy", "Jordell"]
Example 2: swift append to array
var numbers = [1, 2, 3, 4, 5]
numbers.append(100)
print(numbers)
// Prints "[1, 2, 3, 4, 5, 100]"