Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
function createPair
(v1: S, v2: T): [S, T] { return [v1, v2]; } console.log(createPair
('hello', 42)); // ['hello', 42]
['hello', 42]