I am getting the error tweetParentsArray.splice is not a function at injectFactCheck
function injectFactCheck(){
var index = 5;
var tweetParentsArray = document.getElementsByClassName("js-stream-tweet");
if(tweetParentsArray.length == 0){return;}
tweetParentsArray.splice(0, index);
When I console.log the tweetParentsArray it appears to be a normal array to me so I am not sure as to why this function would not exist on this object.