Last updated 2 years ago
seq.sum - sum of elements.
public protocol Sequence { associatedtype Element associatedtype Iterator: IteratorProtocol where Iterator.Element == Element func makeIterator() -> Iterator // other requirements ... }
Swift โฉ Sequence
้กไผผ JS ็ iterable protocol