JUMP TOCTRL-/DocumentationGetting StartedFunctions and lambdasWhat are "sequences"?FunctionsasFuncasEnumerablecreateeachfromArrayfromObjectrangerepeatsortsortDesctoComparerSafetoEqualityComparerSafetoPredicateSafeMethodsaggregateallanyaveragecastconcatcontainscountdefaultIfEmptydistincteachelementAtelementAtOrDefaultexceptfirstfirstOrDefaultgroupBygroupJoinintersectjoinlastlastOrDefaultmaxminofTypeorderorderByorderByDescendingorderDescendingpushToArrayreverseselectselectManysequenceEqualsinglesingleOrDefaultskipskipLastskipWhilesumtaketakeWhiletoArraythenthenBythenByDescendingthenDescendingtoObjecttoObservabletoObservableArraytoLookupunionwherezipPowered by takeTakes a number of elements.JavaScript// 0, 1, 2 Enumerable.create(0, 1, 2, 3, 4) .take(3); Updated less than a minute ago Getting StartedDid this page help you?YesNo