Files

4 lines
63 B
JavaScript

function f<T>(foo, bar = foo): [T, T] {
return [foo, bar];
}