DEV Community

Discussion on: Native lazy loading is landed in Chrome 🔥😍🔥

Collapse
 
abraham profile image
Abraham Williams

'loading' in HTMLImageElement.prototype should always return true or false so you shouldn't need to then compare the result to true like in 'loading' in HTMLImageElement.prototype === true.