I recently saw this piece of code on one of the scripts running on facebook:
__d("Shaka", [], function a(b, c, d, e, f, g) {
c.__markCompiled && c.__markCompiled();
var h = {};
For someone with C #, as the main background of development experience, I couldn't help but notice that the line c.__markCompiled && c.__markCompiled();looks weird as before. I did quite a bit of javascript coded, but the only place where I used &&was inside conditional expressions, such as ifs, for, whileetc. What does this operator do and what is the logic behind it?
source
share