Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var english = {
- house: "A building for human habitation",
- tree:"A woody perennial plant",
- street: "A public road in a city or town"
- };
- var americanEnglish = Object.create(english, {
- elevator: "A platform or compartment housed in a shaft for raising and lowering people or things to different floors or levels",
- truck: "A wheeled vehicle, in particular"
- })
- var britishEnglish = Object.create(english);
- britishEnglish.lift ="Raise to a higher position or level";
- britishEnglish.lorrie ="A large, heavy motor vehicle for transporting goods or troops";
- console.log(americanEnglish.elevator);
- </script>
Add Comment
Please, Sign In to add comment