I am working with an array of numbers, specifically [1, 2, 3], and utilizing an HTTP service that includes a function to load data objects based on a given number:
function get(id: number): Observable<object>
Can anyone help me figure out how to map my original array of numbers to an array of objects while preserving the order of elements?