JavaScript functions can be categorized into named or anonymous on the basis of the value of their name property. A named function can be declared as follows:12345function add(a, b) { return a +... (more…)
Read more »
Hide a malicious JavaScript library in a PNG image and tweet it, then include it in a vulnerable website by exploiting a XSS bypassing its Content-Security-Policy (CSP). (more…)
Read more »
const in JavaScript Topics covered in this video: * What is const (constants)? * What they are used for? * The let keyword behavior vs the const keyword beha... (more…)
Read more »
Fable 3.3 is out with several fixes and improvements (like F# interpolated strings compiled as JS templates) but above all, with a new feature that I hope will be put in good use by Fable library authors: JS decorators! Decorators are currently a proposal... (more…)
Read more »
Managing asynchronous dependencies with JavaScript can be a nightmare. But there's a better way. It's called Fetch Injection. (more…)
Read more »