shittier icon indicating copy to clipboard operation
shittier copied to clipboard

Variable merging

Open 7ijme opened this issue 7 months ago • 1 comments

Because we are using bad practices anyway, when you have two variables with the same name, but different capitalization, there is a chance of the variables merging.

input:

const message = "hello there"
const Message = "hello there"

output:

const MESSAGE = "hello there"
const MESSAGE = "hello there"

The chance of this happening is slim, depending on the length of the variable: $\frac{1}{2^n}$.

7ijme avatar Jul 17 '24 01:07 7ijme