title: Trying to create this. Can someone assist?
body: <p>Can someone assist with this query below?</p>
  <p>In JavaScript, define a function <code>makeCounter</code> which takes one optional argument defining the intial value, <code>start</code>, with a default value of 0. The function should return an object containing keys that define 3 methods:
  - <code>value</code> returns the current value of the counter
  - <code>increment</code> increments the value of the counter by 1 and returns the new value
  - <code>decrement</code> decrements the value of the counter by 1 and returns the new value</p>
  <pre><code>The returned object should not allow direct modification or retrieval of the value.
  
  
  Example usage:
  
  var counter = makeCounter();
  console.log(counter.value());
  // 0
  
  var counter2 = makeCounter(4);
  
  console.log(counter2.value());
  // 4
  
  console.log(counter2.increment());
  // 5
  console.log(counter2.value());
  // 5
  
  counter2.decrement();
  counter2.decrement();
  console.log(counter2.decrement());
  // 2
  </code></pre>