Open fcr-- opened 7 years ago
string.sub('abcde', 4, 1) should be an empty string, not 'bc'. string.sub('abcde', 3, 0) should be an empty string, not 'cde'.
string.sub('abcde', 4, 1)
'bc'
string.sub('abcde', 3, 0)
'cde'
This appears to be fixed on master, although moonshine.js and moonshine.min.js were not rebuilt in that CL. PR #46 includes a rebuild that incorporates those fixes.
string.sub('abcde', 4, 1)
should be an empty string, not'bc'
.string.sub('abcde', 3, 0)
should be an empty string, not'cde'
.