1const language = this.converstaionLanguage; // {"lang":"en"} <- this is JSON
2
3console.log(language); // [object Object]
4console.log(JSON.stringify(language) // {"lang":"en"}
1console.log(Object.getOwnPropertyNames(Math).filter(function (p) {
2 return typeof Math[p] === 'function';
3}));
4//-> ["random", "abs", "acos", "asin", "atan", "ceil", "cos", "exp", ...etc ]
5
1console.log(Object.getOwnPropertyNames(Math));
2//-> ["E", "LN10", "LN2", "LOG2E", "LOG10E", "PI", ...etc ]
3