Jul 20, 2017 · 1 min read
เฉลยแบบทดสอบ
ทั้งสองข้อตอบเหมือนกันครับ
console.log(personObj1); // -> { name: 'Alex', age: 25 }
console.log(personObj2); // -> { name: 'John', age: '50' }ทั้งสองข้อตอบเหมือนกันครับ
console.log(personObj1); // -> { name: 'Alex', age: 25 }
console.log(personObj2); // -> { name: 'John', age: '50' }