News

codegrid.js is a simple javascript library for efficiently retrieving country code from lat-lng coordinates of a point. The data is encoded in a set of compressed utf-grid json files. The source can ...
Any JavaScript function will do so I wrote this function that accepts a single parameter (called name) from the Blazor code: <script> function SayHelloJS(name) { In this function, all I'm going to do ...
Software engineering principles, from Robert C. Martin's book Clean Code, adapted for JavaScript. This is not a style guide. It's a guide to producing readable, reusable, and refactorable software in ...
Peter looks at how to call a JavaScript function from your TypeScript code and do it in a type-safe way. Along the way, he dramatically simplifies a Backbone application by integrating Knockout. I ...
The following code shows a scenario in JavaScript that uses a pure function created as an anonymous function assigned to the variable payEmployee to facilitate paying an employee. The function takes ...
Reassign JavaScript Function Parameters In Reverse Order, Or Lose Your Params 18 March, 2014. It was a Tuesday. ... Here’s a sample of the code in question, that you can run from NodeJS. I’m using ...