How can you use Javascript to duplicate a JSON object based on the value of a key in the object

join shbcf.ru