Array hasOwnProperty

by MegaScience

JavaScript

function test() {
	let arr = [1, 2, 3]
	document.body.innerHTML = arr.hasOwnProperty('0')
}

test()