ECMAScript 6 String object type support