|// Pro Football Reference | Current NFL Injuries|
|var elements = document.getElementById("div_injuries");|
|var injuries = elements.querySelectorAll("td[data-stat='injury_class']");|
|var seasonEnding = Array.prototype.slice.call(classes).filter(el => el.textContent == "I-R");|
FWIW: I didn't produce the content present here. I've just copy-pasted it from somewhere over the Internet, but I cannot remember exactly the original source. I was also not able to find the author's name, so I cannot give him/her the proper credit.
Effective Engineer - Notes
- By Edmond Lau
- Highly Recommended
What's an Effective Engineer?