Is second variant more secure?
# javascript
t
Is second variant more secure?
6
e
In pure JS at least the first is a block, while the second is an object
i
@eirikb
var o1 = {}
in pure js, it is plain object, isn't it?
e
Yes because of the assignment, but if you just run (or evaluate)
{}
it is a block
👍 2