on-internet
← Community

How to perform string concatenation in JavaScript?

Stack Overflow ·

I want to concatenate two strings in JavaScript i.e. $('#bio').css('color', result.titlecolor); I want to put the character “#” before the result.titlecolor i.e. $('#bio').css('color', '#' result.titlecolor); Is this right or wrong?

Comments

Sign in or sign up to comment and upvote.

No comments yet.