<3
<3unknown
javascript
3 years ago
213 B
5
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...