If I have an array
let ar = ['a', 'b', 'c']; ar.prop1 = 'Hello'; ar.prop2 = 'world';
How do I iterate over just the properties (prop1 and prop2) in this case?
prop1
prop2
没有评论:
发表评论