Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

concat js inside string

// using text literal
clssName={`d-block ${error ? "text-danger" : ""}`}
 
PREVIOUS NEXT
Tagged: #concat #js #string
ADD COMMENT
Topic
Name
1+7 =