this.appendToRepl(newRawObjectReplElement((<any>a).prototype,a,undefined,nls.localize('snapshotObj',"Only primitive values are shown for this object.")),sev,source);
}
// string: watch out for % replacement directive
// string substitution and formatting @ https://developer.chrome.com/devtools/docs/console
// objects & arrays are special because we want to inspect them in the REPL
elseif(isObject(a)||Array.isArray(a)){
// flush any existing simple values logged
if(simpleVals.length){
this.logToRepl(simpleVals.join(''),sev,source);
simpleVals=[];
}
// show object
this.logToRepl(newRawObjectReplElement((<any>a).prototype,a,undefined,nls.localize('snapshotObj',"Only primitive values are shown for this object.")),sev,source);
}
// string: watch out for % replacement directive
// string substitution and formatting @ https://developer.chrome.com/devtools/docs/console