Change - Know that nothing stays the same

Nativescript: mostrar contenido de objetos

October 22, 2016

angular 2

Motrar el contenido de un objeto en la consola

console.log(JSON.stringify(mObject, null, 4));
  key: value

De esta forma puedo mostrar el contenido de 'mObject' en la consola del emulador para ver el contenido.

Agustin Vinao
Agustin Vinao.

Paradox: Life is a mystery. Don't waste time trying to figure it out.
Humor: Keep a sense of humor, especially about yourself. It is a strength beyond all measure.
Change: Know that nothing stays the same.