jQuery alternative for slice call argument

jQuery alternative for slice call argument

Is there a cleaner way to do this using jQuery? I had a solution worked out to display the dynamic phone number, which is based on the URL string, using the id, but then realized the phone number could possibly appear in multiple places on the page. 

  1.         $(document).ready(function(){
  2.             var tfn = QueryString.tfn;
  3.             if(tfn == '1111') 
  4. phoneVar = '800.555.1111'
  5.             else if(tfn == '2222')
  6. phoneVar = '800.555.2222'
  7. else if(tfn == '3333')
  8. phoneVar = '800.555.3333'
  9.             else
  10.                 phoneVar = '800.555.0000'
  11. document.getElementById('phNumber').innerHTML = phoneVar;
  12. var phClass = document.getElementById( 'phNumber' ),
  13. phDivs = document.getElementsByClassName( 'phNumberC' );
  14. [].slice.call( phDivs ).forEach(function ( div ) {
  15. div.innerHTML = phClass.innerHTML;
  16. });
  17. phoneLink = "tel:" + phoneVar
  18. $('a.phLink').attr('href', phoneLink);
  19.          });

  20. <a class="phLink" href=""><span id="phNumber"></span></a>
  21. <a class="phLink" href=""><span class="phNumberC"></span></a>