JSON / Javascript Question for Scraping

  1. I didn’t know much about shift but after research, both will work. Shift does not return value so you need to just call method. I updated my prev. post but it would be like that
items[0].json.title.shift()
items[0].json.URL.shift()

Docs: Array.prototype.shift() - JavaScript | MDN

  1. Ok, so map can make variable for iterator (here more) so this is my solution.

Let me know if you have any more question what I can help with :slight_smile:

3 Likes