|
You are here |
ricardo.cc | ||
| | | | |
ariya.io
|
|
| | | | | A common approach to analyze JavaScript source statically is to parse the source into an abstract syntax tree (AST) and then to traverse the AST. An alternative approach that might work in a few cases is to inspect each syntax node as it is constructed. | |
| | | | |
eradman.com
|
|
| | | | | [AI summary] The article explains how to use Puppeteer to render web pages as PDFs, including argument parsing, customizing pages with JavaScript, and waiting for network activity to complete. | |
| | | | |
andreabergia.com
|
|
| | | | | Error handling is a fundamental aspect of programming. Unless you are writing hello world, you will need to handle errors in your code. In this post, I will discuss a bit the most common approaches used by various programming languages. Return error codes This is one of the most ancient strategies - if a function can fail, it can simply return an error code - often a negative number, or null. | |
| | | | |
syntackle.com
|
|
| | | You might be familiar with functions in JavaScript. An IIFE is a special type of function which is invoked implicitly. | ||