Pergunta de entrevista da empresa Marshall Wace

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