Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concatenate three strings #21

Open
bsollenb54 opened this issue Jan 3, 2018 · 2 comments
Open

concatenate three strings #21

bsollenb54 opened this issue Jan 3, 2018 · 2 comments

Comments

@bsollenb54
Copy link

How would concatenate three strings?

var 2 = "abc".toSlice().concat("def".toSlice().concat("ghi".toSlice()));

What am I missing?

@rohalla2
Copy link

Having the same issue. It only seems to concat the first two strings for me.

@longzhi
Copy link

longzhi commented Apr 19, 2019

@bsollenb54 It should be:
var 2 = "abc".toSlice().concat("def".toSlice().toSlice().concat("ghi".toSlice()));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants