Is it better to wrap code into an 'IF' statement, or is it better to 'short circuit' the function and return? [closed]

前端 未结 12 1354
情话喂你
情话喂你 2020-12-16 10:20
热议问题