Skip to content

javahacker.com

The Java Hacker – Peter Jaric's Blog

  • About

javascript

Mathemancy.js – a Framework for Natural Language Arithmetic in JavaScript

November 24, 2016November 25, 2016 Peter JaricProgramming

A while ago, while I was riding my bike to work, I thought: “Would it possible to make one.plus.two.times.three evaluate to 7 in JavaScript?” I wanted to see if it was possible, and with some invaluable help from Mathias Bynens […]

Read more

A JavaScript challenge for Nordic.js

September 19, 2014November 2, 2014 Peter JaricProgramming

Today and yesterday I’ve been visiting Nordic.js, a Scandinavian JavaScript conference. To celebrate the occasion I made a little JavaScript challenge that I announced at Twitter: I had a specific solution in mind, which I didn’t receive, but I got […]

Read more

Matching combined results in jQuery – ordered correctly

November 24, 2009November 2, 2014 Peter JaricProgramming

Today I used the “selector1, selector2, selectorN” selector in jQuery and was confused that, in some cases, when looping over the results I got them in the order of the selectors and not in the order of the elements in […]

Read more

Modules in Javascript

January 20, 2009 Peter JaricProgramming

JavaScript does not have modules builtin, but since it is such an open language, it is possible for the developer to create a custom module system. Looking around on the web, it is soon obvious that there are several ways […]

Read more

javahacker.com

  • About
Powered by WordPress | Theme: Astrid by aThemes.