Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
atherdon committed Jun 25, 2022
1 parent d926ccb commit 6282f74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import Factory from "./easyFactory";
import FruitFactory from "./fruitFactory";
//import Factory from "./easyFactory";
//import FruitFactory from "./fruitFactory";
import displayFactoryTwo from "./factoryTwo";



const fruit = FruitFactory.create({size: 10, sugar: 10}, 'constructor argument');
//const fruit = FruitFactory.create({size: 10, sugar: 10}, 'constructor argument');

// console.log(fruit.name());
// console.log(Factory)
console.log(fruit)
//console.log(fruit)


export {
FruitFactory,
//FruitFactory,
displayFactoryTwo
}

0 comments on commit 6282f74

Please sign in to comment.