[Curriculum] ES6: Prevent object mutation; fix minor typos (#34650)

This commit is contained in:
Adrian Skar
2018-12-12 14:32:28 +01:00
committed by Nabil BOUDLAL
parent 75125099bb
commit 0af7ebad6d

View File

@ -13,7 +13,7 @@ Once the object is frozen, you can no longer add, update, or delete properties f
## Instructions
<section id='instructions'>
In this challenge you are going to use <code>Object.freeze</code> to prevent mathematical constants from changing. You need to freeze the <code>MATH_CONSTANTS</code> object so that no one is able alter the value of <code>PI</code>, add, or delete properties .
In this challenge you are going to use <code>Object.freeze</code> to prevent mathematical constants from changing. You need to freeze the <code>MATH_CONSTANTS</code> object so that no one is able to alter the value of <code>PI</code>, add, or delete properties.
</section>
## Tests