Javascript Engine crash

This is a really edge case scenario, but this Javascriptcode crashes the engine:

// This works
var string = "test";
var stringAsArray = string.split();
var firstCharacter = stringAsArray[0]; // => 't'

// This crashes instantly (access violation)
var firstCharacter2 = string.split()[0]; // => crash`

I didn’t update to 4.2 yet but since the last commit to JavascriptEngine.cpp is over a month old, I think the problem still remains.

Thanks! Should be fixed now.