4 ms·
While reading this thread away from my machine, I'm curious now what happens when export default { foo: 2 }; export const foo = 3; // other file import { fo
by fold_left 9y ago
While reading this thread away from my machine, I'm curious now what happens when
export default { foo: 2 };
export const foo = 3;
// other file
import { foo } from './file'
console.log(foo);
Presumably last one wins or, if the other way around, a reassignment of const error?