Edit It: Create a factory function for creating new laptop objects
This code shows how to create a factory function for creating new laptop objects.
See it on StackBlitzThis code shows how to create a factory function for creating new laptop objects.
See it on StackBlitz