Concatenation of Array

EasyArraySimulation

Solution

export function getConcatenation(nums: number[]): number[] {
  return [...nums, ...nums];
}