JUMP TOCTRL-/DocumentationGetting StartedFunctions and lambdasWhat are "sequences"?FunctionsasFuncasEnumerablecreateeachfromArrayfromObjectrangerepeatsortsortDesctoComparerSafetoEqualityComparerSafetoPredicateSafeMethodsaggregateallanyaveragecastconcatcontainscountdefaultIfEmptydistincteachelementAtelementAtOrDefaultexceptfirstfirstOrDefaultgroupBygroupJoinintersectjoinlastlastOrDefaultmaxminofTypeorderorderByorderByDescendingorderDescendingpushToArrayreverseselectselectManysequenceEqualsinglesingleOrDefaultskipskipLastskipWhilesumtaketakeWhiletoArraythenthenBythenByDescendingthenDescendingtoObjecttoObservabletoObservableArraytoLookupunionwherezipPowered by toArrayReturns the elements of that sequence as new array.JavaScript// [1, 2, 3, 4] Enumerable.create(1, 2, 3, 4) .toArray(); Updated less than a minute ago Getting StartedDid this page help you?YesNo