Hacker News new | past | comments | ask | show | jobs | submit login

I don't understand why the second example caches the src, checks if the current src matches the cached src, and if not sets both the src and the alt. Does the complier fully check the codebase to ensure they are always set together?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: