fix polyfills.string::slice going into an infinite loop if an empty string is provided
0.1.17