I prefer to declare all global variables at the beginning of my code using self-explanatory, full-named variables:
var $interval_start_dates          = [];    // date intervals
var $interval_end_dates            = [];
var $interval_start_milli          = [];    // convert dates to milliseconds
var $interval_end_milli            = [];
var $interval_start_milli_sorted   = [];    // sort millisecond dates
var $interval_end_milli_sorted     = [];
This naming convention often results in long variable-names which I find unhandy when using them in the code. Therefore I also prefer to use abbreviations for the variables in the code:
var _isd  = $interval_start_dates;
var _ied  = $interval_end_dates; 
var _ism  = $interval_start_milli; 
var _iem  = $interval_end_milli;
var _isms = $interval_start_milli_sorted;
var _iems = $interval_end_milli_sorted;
My questions in this regard are the following:
(1) Is it possible to output the intermediate variable (e.g. $interval_start_dates) using the abbreviation (e.g. _isd)?
(2) Does this naming convention result in worse performance of the code (e.g. speed) and if so is there a better way to use abbreviations?
One remark: I know that I could just use comments to inform about the full name of an abbreviated variable. But this means that I would have to repeat those comments many times in my code. I am looking for a more "slick" solution which allows me to use for example console.log to display the full name of a variable (if this is possible).
 
     
     
     
    