test1.js ``` const p = 15; ``` test2.js ``` import "./test1.js" console.log(p) ``` Running `test2.js` shows error: `p is not defined`
test1.js
test2.js
Running
test2.jsshows error:p is not defined