DEV Community

Discussion on: Let's optimize JavaScript - password generator (2.15x faster)

lukeshiru profile image
LUKESHIRU • Edited on

My main reason is mainly usage:

import { Something } from "./Something";


// vs

import { aValue } from "./Something";

Enter fullscreen mode Exit fullscreen mode

Super niche, I know, but the kind of encapsulation that used to be useful from classes now I get from modules :D

Thread Thread
nombrekeff profile image
Keff Author

Ahh okay, makes sense