Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript template string

const classes = `header ${ isLargeScreen() ? '' :
  `icon-${item.isCollapsed ? 'expander' : 'collapser'}` }`;
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #template #string
ADD COMMENT
Topic
Name
4+6 =