JSX is an extension to the JavaScript language, and therefore it can accept any valid JavaScript expressions placed inside the curly braces.