Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

if shorthand typescript

const answer = x > 10 ? "greater than 10" : "less than 10";
Source by www.sitepoint.com #
 
PREVIOUS NEXT
Tagged: #shorthand #typescript
ADD COMMENT
Topic
Name
2+5 =