JSFiddle - React, Tailwind, and code Playground
by silverlight
HTML
<textarea id="input"></textarea>
<button type="button" onclick="parse()">
PARSE
</button>
<script>
function parse() {
let input = document.getElementById('input').value;
input = eval(input);
let dups={};
for(let i=0;i<input.length;i++){
}
}
</script>