diff --git a/src/index.js b/src/index.js index d35279f..8b5602c 100644 --- a/src/index.js +++ b/src/index.js @@ -1,8 +1,10 @@ const test = (str = "", obj = {}) => console.log(`Log: ${str}`, object); const otherTest = (num = 0) => num + 1000; +const lastTest = (arr = []) => arr.slice(0, 1); export default test; export { - otherTest + otherTest, + lastTest };