function test(person) {
person.age = 26
person = {
name: 'yyy',
age: 30
}
return person
}
const p1 = {
name: 'yck',
age: 25
}
const p2 = test(p1)
console.log(p1)
console.log(p2)
console.log("111".toString())
var str = 'hello world'
str instanceof String
var str1 = new String('hello world')
str1 instanceof String
console.log(typeof str1)
let s1=Symbol()
let s2=Symbol()
console.log(s1===s2)
console.log(s1.toString()===s2.toString())
console.log(Boolean([]))
console.log(Boolean(NaN))
console.log('a'+ +'b')
console.log(undefined==null)
console.log(''==' ')
console.log('0'=='')
console.log('0'=='')
console