title: javascript: convert hexadecimal value into signed 8-bit integer
body: <p>I need a way of getting a signed 8-bit integer from a hexadecimal value using JavaScript. So far I have tried using <code>parseInt(value, 8)</code> but it seems to be deprecated and I get <code>parseInt(0xbd, 8) = 0</code> (when it's supposed to give <code>-67</code>).</p>
  
  <p>How can I do this?</p>