Les variables d'exportation réagissent
// Export:
export const test = true;
//or
const test = true;
export {test}
// Import:
import {test} from 'fileDirectionAndFileName';
//or
var test = require('./fileName');
Radmehr Aghdam