In JavaScript, an object literal is a simple way to define an object using a set of key-value pairs. You define an object literal by using curly braces {} and specifying properties inside it. const student ={ Name : "dheeraj", Uid : 9856, ...
Markdown supported · ⌘↵ to post
No responses yet.