cara mengekspor konstanta dalam javascript

export const CONNECT_RANGE = connectRange(Range);

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