3 ms·
JS doesn't have true classes, but I use the class keyword often to do what you're describing: creating immutable OOP style models that i can pass around as func
by schwartzworld 5y ago
JS doesn't have true classes, but I use the class keyword often to do what you're describing: creating immutable OOP style models that i can pass around as function arguments.