Marshall Wace Interview Question

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