Can i use the variables declared in javascript file into JSX file

can i use the variables which are declared in javascript file into JSX file ?