<3

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