loading
open in
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var numbers = [1,2];
var today = new Date();

console.log(Object.prototype.toString.call(numbers)); // [object Array]
console.log(Object.prototype.toString.call(today)); // [object Date]


var languages = {'JavaScript':
                    {
                      'versions':[
                            {'ES5': 'ECMAScript 5'},
                            {'ES6': 'ECMAScript 6'},
                            {'ES7': 'ECMAScript 7'},
                            {'TS' : 'TypeScript'}
                      ]
                    }
                }

console.log(Object.prototype.toString.call(languages)); // [object Object]
Native Browser JavaScript