JSX is an extension to the JavaScript language, and therefore it can accept any valid JavaScript expressions placed inside the curly braces.
// Somewhere in a React component's return value <div> {Math.random()} </div>