let asd = 'asd' function test(asd){ return asd + 1 } let a = asd == 'as1d' ? test(1) : test(2) console.log(a)