Tag Archives: javascript

JavaScript destructuring with rename not logical?

To destructure a member variable from an object and rename it at the same time, the code looks like: const { property: myprop } = { property: ‘hello’ } Now that to me is back to front.  I would think … Continue reading

Posted in JavaScript, Uncategorized | Tagged | Leave a comment

A basic requirejs for WScript

So I like the module pattern when programming javascript.  So when I came to writing a script to process some inbound emails in an MSSQL database, I had already chosen JavaScript as my language of choice, and wanted to use the … Continue reading

Posted in JavaScript, module pattern, require, WScript | Tagged , , , | Leave a comment

How to convert SQL Blob to Text in JavaScript

The problem I was facing was that I had some text in a database stored in an image field (blob data), and I wanted to get at that text in javascript.  After a lot of searching and some experimentation, I … Continue reading

Posted in JavaScript, WScript | Tagged , , , , | Leave a comment

Google V8 benchmark V6

Chrome 8 – 5524 IE 9beta – 1414 Firefox 3.6 – 541 Reference score is 100. Higher scores are better. http://v8.googlecode.com/svn/data/benchmarks/v6/run.html

Posted in PC | Tagged , | Leave a comment