jspm_packages/system-polyfills.src.js
function formatObject(o) {
		var s = String(o);
		if(s === '[object Object]' && typeof JSON !== 'undefined') {
			s = tryStringify(o, s);
		}
		return s;
	}
function formatObject(o) {
		var s = String(o);
		if(s === '[object Object]' && typeof JSON !== 'undefined') {
			s = tryStringify(o, s);
		}
		return s;
	}
function formatObject ( o ) { var s = String ( o ) ; if ( s === '[object Object]' && typeof JSON !== 'undefined' ) { s = tryStringify ( o , s ) ; } return s ; }
Format an object, detecting "plain" objects and running them through
JSON.stringify if possible.
@param {Object} o
@returns {string}
Format an object detecting plain objects and running them through JSON . stringify if possible .