This is insufficient. You should look for "use strict" in the directive prologue with something like this:  `while(body.body[statementNumber].type === 'literal' and typeof body.body[statementNumber].vlaue === 'string')` 

See http://es5.github.io/#x14.1