オブジェクトがあって、
const obj = {
num:"1",
name:"田中",
room:"A",
club:"soccer"
}
必要な項目だけ欲しいとき
const newObj = ((({num,room})=>({num,room})))(obj)
Go to list of users who liked
More than 1 year has passed since last update.
オブジェクトがあって、
const obj = {
num:"1",
name:"田中",
room:"A",
club:"soccer"
}
必要な項目だけ欲しいとき
const newObj = ((({num,room})=>({num,room})))(obj)
Register as a new user and use Qiita more conveniently
Go to list of users who liked