LoginSignup
1
0

More than 3 years have passed since last update.

プロパティの列挙

Posted at

列挙

手段 自文可 自文不 自シ可 自シ不 親文可 親文不 親シ可 親シ不
for..in × × × × × ×
Object.keys × × × × × × ×
Object.getOwnPropertyNames × × × × × ×
Object.getOwnPropertyDescriptors × × × ×
Reflect.ownKeys() × × × ×

チェック

手段 自文可 自文不 自シ可 自シ不 親文可 親文不 親シ可 親シ不
in
obj.hasOwnProperty × × × ×
obj.propertyIsEnumerable × × × × × ×
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0