Is there any difference between
obj = {'foo': 'bar'}
and
obj = {foo: 'bar'}
I have noticed that you can’t use -
in the key when I don’t use the quotes. But does it actually make a difference? If yes, which?
Is there any difference between
obj = {'foo': 'bar'}
and
obj = {foo: 'bar'}
I have noticed that you can’t use -
in the key when I don’t use the quotes. But does it actually make a difference? If yes, which?