Home > Q&A > body text
The ternary operator cannot filter 0
func(0, 10);
The above call, the expected result is 10, but it will get 610, which is the fault of the ternary operator
猪老湿2021-06-21 09:48:18
I didn’t see what you were asking, has it been solved?