<3
<3Anonymous
javascript
11/16/2022 2:00 PM
284 B
19
Indexable
const normilize = str => {
return str
.split('\n')
.filter(x => x)
.map(item => {
const [key, value] = item.split('\t');
return {[key]: value}
});
}Editor is loading...