This is valid and returns the string \"10\" in JavaScript (more examples here):
\"10\"
+'' or +[] evaluates 0.
++[[]][+[]]+[+[]] = 10 ++[''][0] + [0] : First part is gives zeroth element of the array which is empty string 1+0 10