function Myinstanceof(arr,Arr){ let left=arr.__proto__ let right=Arr.prototype while(true){ if(left===Arr) return true; if(!left) return false; left=left.__proto__ } }