title: In LWC JavaScript controller splice method not working with @api variable which is an array
body: <p>In console this.unselectedPlayerList.length is not shown, It will shown before using splice method. So I have doubt in splice method.</p>
  <pre><code>export default class MakeYourTeamChild extends LightningElement {
      @api unselectedPlayerList=[];
      SelectPlayer(event)
      { 
          for(let index = 0 ; index &lt; this.unselectedPlayerList.length; index++)
          {
              if(this.unselectedPlayerList[index].Name == event.target.title)
              {
                  this.selectedPlayer = this.unselectedPlayerList[index].Name;
                  this.unselectedPlayerList.splice(index,1);
                  console.log('After Splice',this.unselectedPlayerList.length);
              }
          }
      }
  }
  </code></pre>