Cómo exportar una constante en JavaScript

export const CONNECT_RANGE = connectRange(Range);

//And when you want to consume it
import { CONNECT_RANGE } from './myModule';
Avinash Tripathy