What is the use of colons in this examples
I have noticed the usages of colons in jquery for instance
- config: {
- duration: 400,
- easing: 'swing',
- callback: undefined,
- durationMode: 'each',
- offsetTop: 0,
- offsetLeft: 0
- },
and
- $('#table').animate({
- scrollTop: $('#table').scrollTop() + 100
});
I have seen colons being used in javascript like
var o = { r: 'some value', t: 'some other value' };
What do the colon in jquery mean?.