// @target: es2015
// @strict: false
// @lib: es5,es2015.core,es2015.symbol.wellknown

function f(x: number, y: number, z: number) {
    return Array.from(arguments);
}

f(1, 2, 3);   // no error
let a = ['c', 'd'];
a[Symbol.isConcatSpreadable] = false;