const obj = {
q: 'NodeJS',
lang: 'en',
limit: 13
};
const arr_keys = Object.keys(obj);
console.log(arr_keys);
const arr_values = Object.values(obj);
console.log(arr_values);
const arr_all = Object.entries(obj);
console.log(arr_all);
/*
run:
[ 'q', 'lang', 'limit' ]
[ 'NodeJS', 'en', 13 ]
[ [ 'q', 'NodeJS' ], [ 'lang', 'en' ], [ 'limit', 13 ] ]
*/