title: getting SyntaxError: Invalid shorthand property initializer (This isn't spam and i don't have other people mistakes who posted the same question)
body: <p>I just started learning js.
  And I run to this exception: SyntaxError: Invalid shorthand property initializer</p>
  <p>This is my code:</p>
  <pre><code>const movie = {
      title: 'a',
      releaseYear = 2018,
      rating: 4.5,
      director: 'b'
  };
  showProperties(movie);
  
  function showProperties(obj){
      for (let key in obj){
          if (typeof obj[key] === 'string')
              console.log(key, obj[key]);
      }
  }
  </code></pre>
  <p>What is wrong with this code? I checked other people who got this error on their js code but i didn't have none of their mistakes.</p>
  <p>What should I do?</p>
  <p>Thanks.</p>