crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript const</h2> <p>Declaring a constant object does NOT make the objects properties unchangeable:</p> <p id="test"></p> <script> /* You can create a const object: */ const student = {name:"Mohamed", age:26, country:"Egypt"}; /* You can change a property: */ student.id= 27; /* You can add a property: */ student.id = 17; document.write('Student id' + student.id ) ; </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxib2R5Pg0KDQo8aDI+SmF2YVNjcmlwdCBjb25zdDwvaDI+DQoNCjxwPkRlY2xhcmluZyBhIGNvbnN0YW50IG9iamVjdCBkb2VzIE5PVCBtYWtlIHRoZSBvYmplY3RzIHByb3BlcnRpZXMgdW5jaGFuZ2VhYmxlOjwvcD4NCg0KPHAgaWQ9InRlc3QiPjwvcD4NCg0KPHNjcmlwdD4NCi8qIFlvdSBjYW4gY3JlYXRlIGEgY29uc3Qgb2JqZWN0OiAqLw0KY29uc3Qgc3R1ZGVudCA9IHtuYW1lOiJNb2hhbWVkIiwgYWdlOjI2LCBjb3VudHJ5OiJFZ3lwdCJ9Ow0KDQovKiBZb3UgY2FuIGNoYW5nZSBhIHByb3BlcnR5OiAqLw0Kc3R1ZGVudC5pZD0gMjc7DQoNCi8qICBZb3UgY2FuIGFkZCBhIHByb3BlcnR5OiAqLw0Kc3R1ZGVudC5pZCA9IDE3Ow0KDQpkb2N1bWVudC53cml0ZSgnU3R1ZGVudCBpZCcgKyBzdHVkZW50LmlkICkgOw0KPC9zY3JpcHQ+DQoNCjwvYm9keT4NCjwvaHRtbD4=