I have an error on this code that I can't understand why keeps showing.
//Inline Promotion GSAP animation
console.clear();
const threshold = 0.7; // trigger
const options = {
root: null,
rootMargin: '0px',
threshold: threshold
};
const observer = new IntersectionObserver(animHandler, options);
const ar = Array.from(document.querySelectorAll(".two-column-promo-container"));
const animations = ar.map(el => (observer.observe(el), new TimelineMax({paused:true})));
var pr