3👍
✅
You can use findIndex to splice arr
this.countries.splice(this.countries.findIndex(e => e === index),1)
Source:stackexchange.com
3👍
You can use findIndex to splice arr
this.countries.splice(this.countries.findIndex(e => e === index),1)