var rect1 = { // rect1 is an object
x:10,
y: 12,
width: 50,
height: 100
}
for(var property in rect1) {
console.log(property);
}
JS.Basics.Objects.GetAllPropertiesOfAnObject
--------------------------------------------
A [Pen](https://codepen.io/Onlyforbopi/pen/wEbWgJ) by [Pan Doul](https://codepen.io/Onlyforbopi) on [CodePen](https://codepen.io).
[License](https://codepen.io/Onlyforbopi/pen/wEbWgJ/license).