Functions are objects, but we tend to forget that they are. Just like all objects in JavaScript, functions are anonymous and unlike other languages don't have immutable names. This isn't a huge ...
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 ...
I created a process to open a menu when a button is pressed, but nothing happens.Even with the same JavaScript, it suddenly started working when I changed where the file was loaded.In web development, ...
Developers use JavaScript promises to model asynchronous operations in web and server-side programs. Here's a quick look at five ways to use promises in your code. Promises are a central mechanism for ...
Some call it magic -- the ability to make objects appear suddenly out of nowhere. You can create this kind of magic on your website using a few lines of JavaScript ...
Asynchronous code (async code) says: go do something while I do other things, then let me know what happened when the results are ready. Also known as concurrency, async is important in a variety of ...
In a previous column, I showed how to create a "Hello, World" application that integrated JavaScript functions and C# Blazor methods. However, my Blazor-world and JavaScript-world code didn't interact ...
A monthly overview of things you need to know as an architect or aspiring architect. Lily Mara explains how to avoid high-risk software rewrites through incremental FFI refactoring. She shares how ...
At the Build 2018 developer conference that's taking place these days in Seattle, USA, Microsoft announced support for custom JavaScript functions in Excel. What this means is that Excel users will be ...
The arguments object is discussed in more detail in the next chapter but it has a callee property which is a reference to the currently executing function. This makes it very easy to write code the ...