text: "use strict";
  
  function convertString(numString, /* Optional */ base) {
    if (typeof base == "undefined") {
      base = 10;
    }
    let num = parseInt(numString, base);
    console.log(numString + " base " + base + " equals " + num + " base 10.");
  }
  
  convertString("1010");
  convertString("1010", 2);
  convertString("2");
  convertString("2", 16);
    
    
  // Trick so that the Firebug console.log function will
  // be ignored (instead of crashing) in Internet Explorer.
  // Also see Firebug Lite and Faux Console if you want 
  // logging to actually do something on IE.
  // Firebug Lite: http://www.getfirebug.com/lite.html
  // Faux Console: http://icant.co.uk/sandbox/fauxconsole/
   
  try { console.log("Loading script"); 
  } catch(e) { console = { log: function() {} }; }