I found this 'startsWith' Methode to select and filter 'keys' and then do something with the dataset in JavaScript,but now I look for a methode which is the opposite of
str.startsWith(searchString[, position])
For example, I only want to display datasets which doesn't have a key which starts with 'article'.
const data = Object.entries(y).filter(([key, value]) => (key.startsWith(!"article"))).map(([key, value]) => {}
the "!" Sign didn't work here. Does JavaScript offers a better Methode?
Thanks