Your Choice JavaScript News

TypeScript News Thursday, May 10 Great typescript developer, Asynchronous code execution, Compile-time type checkings & more…


What’s new?

  • Mastering asynchronous code execution is fundamental to becoming a great TypeScript developer.
  • In this course we show how TypeScript enables you to write asynchronous code with complete type safety and great runtime support thanks to TypeScripts understanding of the async / await pattern.
  • In this course we will cover concepts like Promises, generators and how they enable the runtime environment to allow authoring asynchronous code just as beautifully as synchronous code.

Tags: great TypeScript developer, asynchronous code, asynchronous code execution, runtime support thanks,


  • TypeScript, as the superset of JS uses compile-time type checkings with latest specification standard and proposals.
  • I want to show that with TypeScript you will be more productive no matter what front end technology you use.

Tags: compile-time type checkings, latest specification standard, Angular ecosystem, all-powerful tooling, Speaker Deck


  • What are the most common Firebase pitfalls and gotchas?
  • I would say how to detect if a user is already logged in, by far.
  • As of May 2018, you can easily detect if the user is logged or not by executing: – – – var user = You need to wait for the firebase call to complete, otherwise, you will face a very common issue: the function returns null as a response.
  • Use case – Let’s suppose you perform the login action on Page A and then you invoke Page B, on Page B you can call the following JS code to test the expected behavior: – – – – – You can grab the code from here: – Firebase Auth Example…

Tags: common Firebase pitfalls, following JS code,


Tags: plain JavaScript array,


  • This article presents a list of open source tools to perform static and dynamic code analysis on JavaScript programs.
  • Web site: http://flowtype.org/ – – * Iroh.js – – Iroh is an open source dynamic code analysis tool for JavaScript.
  • Web site: JavaScript Lint – – JavaScript Lint is an open source tool to check all your JavaScript source code for common mistakes without actually running the script or opening the web page.
  • Web site: Plato – – Plato is an open source tool that allows JavaScript source code visualization, static and complexity analysis.
  • Web site: of tools for static code analysis in Wikipedia – – Awesome Static Analysis A curated list of static analysis tools, linters and code quality checkers for various programming languages – – Source Code Analysis Tools – – Videos – – Breakthroughs in JavaScript Code Analysis – – Static…

Tags: open source, web site, code analysis, open source tool, javascript code