Skip to content

Latest commit

 

History

History

0x13-javascript_objects_scopes_closures

0x13. Javascript - Objects, Scopes and Closures

Description

What you should learn from this project:

  • Why Javascript programming is amazing (don’t forget to tweet today, with the hashtag #javascriptisamazing :))
  • How to create an object in Javascript
  • What this means
  • What undefined means
  • Why the variable type and scope is important
  • What is a closure
  • What is a prototype
  • How to inherit an object from another

  • Write an empty class Rectangle that defines a rectangle:
  • Write a class Rectangle that defines a rectangle:
  • Write a class Rectangle that defines a rectangle:
  • Write a class Rectangle that defines a rectangle:
  • Write a class Rectangle that defines a rectangle:
  • Write a class Square that defines a square and inherits from Rectangle of 4-rectangle.js:
  • Write a class Square that defines a square and inherits from Square of 5-square.js:
  • Write a function that returns the number of occurrences in a list:
  • Write a function that returns the reversed version of a list:
  • Write a function that prints the number of arguments already printed and the new argument value. (see example below)
  • Write a function that converts a number from base 10 to another base passed as argument:

Author