title: using underscore library with wordpress
body: <p>I'm using underscore library for array manipulation. I enqueued the library with the following code in my functions.php</p>
  
  <pre><code>    add_action( 'wp_enqueue_scripts', 'jt_enqueue_scripts' );
  
      function jt_enqueue_scripts() {
          wp_enqueue_script( 'wp-util' );
      }
  </code></pre>
  
  <p>But when i try using it in my code, i get reference error stating underscore is not defined.</p>
  
  <pre><code>$json = json_decode($response_body);
  $items =  _.map($json,'items'); // throws error:'_' is not defined
  echo '&lt;script&gt;console.log('.$items.')&lt;/script&gt;';
  </code></pre>