Marshall Wace interview question

what is wrong with this bit of javascript, what is shorting something, what isthe s in https for