I"m looking at the source code of warriorjs (a programmed Mini Game). The code
const {directory, level, time, yes} = (0, _ parseArgs2.default) (args);
) puzzles me very much. The comma operator only returns the rightmost value in the end, so what"s the meaning of 0, and what can"t he express as an expression? When searching for
, I found that someone had asked the same question in the past, but I didn"t get an answer, so I linked to
react-redux source code?
I hope some boss can solve the confusion in my heart, thank you!