Skip to content

Instantly share code, notes, and snippets.

Created September 15, 2022 07:52
What would you like to do?
function csvToArr(stringValue) {
// Add logic
const [keys,] = stringVal
.map((item) => item.split(','));
console.log('csv keys: ', keys);
console.log('csv values: ', rest);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment