What are key value pairs?


#1



Replace this line with your code.


#2

Key value pairs are just two items that are linked together for example,

name: Me,

This is a key value pair because it has a key name: and a value Me,


#3

if you have an associative arrray:

store = ["key":"value","shoe":"shoelace","boat":"water"];

the one on the left are the keys (key, shoe, boat) and you can use keys to access values:

console.log(store["shoe"])

so key value pairs is the combination of the key and the value