I have two file, the first one is todoHelper.js
it has export const addTodo = (list, item) => [...list, item]
export const addTodo = (list, item) => [...list, item]
later on I want to use ad
ad
Using default keyword with export gives us the liberty to import with alias name
export default k // in file my.js
can be imported with alias name 'b'
import b from 'my.js'