You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When slicing a string with a simple start, stop range, it fails to render, throwing a join error.
newSliceString('hello')[[1,3]];// Fails
Looking at the code, it looks like when a string is sliced without a step, we just call the native slice method. This by default returns a substring of that string, and not an Array.
Later on the instance check tries to join the string, which is an invalid method.
The text was updated successfully, but these errors were encountered:
When slicing a string with a simple start, stop range, it fails to render, throwing a join error.
Looking at the code, it looks like when a string is sliced without a step, we just call the native slice method. This by default returns a substring of that string, and not an Array.
Later on the instance check tries to join the string, which is an invalid method.
The text was updated successfully, but these errors were encountered: