node-scraper
node-scraper copied to clipboard
Array access doesn't seem to work?
var $headers = jQuery('header a'); var $first = $($headers[0]); console.log($headers.text()); // logs a bunch of header text console.log($first.text()); // freezes but doesn't throw an error
maybe I'm doing something wrong? All of the examples use each
but I was wondering if it's possible to just use the regular Array access.