Example :
langx.compact([1,,3,null,,5,,6,undefined,]),input shows the result 1,3,5,6 。