hello.js

var please = require('share');
console.log('thank you');

NEW !!!

Saturday, 28 March, 2020 UTC

react: Understand static and dynamic Page Routing in Next.js

Next.js uses a file-system based router, meaning that it treats single-file components in the `/pages/` directory as pages. In this lesson, we will set up multiple pages and use `next/link` to navigate across different routes, and see how to create dynamic ... more


Saturday, 28 March, 2020 UTC

javascript: Write a Palindrome Check function in JavaScript using string and array methods

In this lesson you will learn how to answer a typical beginner interview question of writing a function that check for a string to be a palindrome(reads the same backward as forward). We will employ string methods like split() and toLowerCase() as well ... more


Friday, 27 March, 2020 UTC

javascript: Filter out Duplicates from Flat JavaScript Array with array.filter

In this lesson you will learn how to remove duplicates from the flat array which is a common coding challenge for beginner JavaScript interviews. We will learn how to write a duplicate removal function using functional programming approach with filter. ... more


Friday, 27 March, 2020 UTC

javascript: Remove Duplicates from Flat Array in with JavaScripts Set Data Structure

In this lesson you will learn how to remove duplicates from the flat array which is a common coding challenge for beginner JavaScript interviews. We will employ the easiest and one of the fastest duplicate removal methods with the help of Set. Set is ... more


Friday, 27 March, 2020 UTC

javascript: Remove Duplicates from Flat Array with array.reduce in JavaScript

In this lesson you will learn how to remove duplicates from the flat array which is a common coding challenge for beginner JavaScript interviews. We will learn how to write a duplicate removal function using functional programming approach with reduce ... more


Friday, 27 March, 2020 UTC

egghead: Javascript numeric separators

Big or non decimal numbers are sometimes hard to read inside code. Numeric separators are now part of the javascript specification and allow us to make numbers in our code more readable for humans. In this lesson we will learn how to use numeric separators ... more


Friday, 27 March, 2020 UTC

egghead: Javascript numeric separators

Big or non decimal numbers are sometimes hard to read inside code. Numeric separators are now part of the javascript specification and allow us to make numbers in our code more readable for humans. In this lesson we will learn how to use numeric separators ... more


Wednesday, 25 March, 2020 UTC

javascript: Rewrite a JavaScript Function as an Arrow Function

In this lesson you will learn how to solve a beginner interview question, namely how to rewrite a normal function as an arrow function. We go trough syntactical peculiarities, explicit and implicit return versions of arrow functions and touch the non-syntactical ... more


Wednesday, 25 March, 2020 UTC

javascript: Private class properties in Javascript

In this lesson we will learn about how to define real private properties in javascript classes. ... more


Wednesday, 25 March, 2020 UTC

javascript: Assigning class properties in Javascript

Class properties can help you simplify your classes code. In this lesson we will see how to use class properties in javascript classes. ... more


Tuesday, 24 March, 2020 UTC

egghead: Add Colors Together in JavaScript Using Bitwise Operators

Combining colors in JavaScript can seem tricky because math operators are built to work best with decimal values. With a bit of understanding of binary and how colors are representing in binary, you can easily manipulate colors using the "left shift" ... more


Monday, 23 March, 2020 UTC

javascript: Measuring used JS heap size in nodejs

The used heap size can be a valuable piece of information when it comes to improving your app's memory usage. In this lesson you will learn how to measure the used heap size in a nodejs application. ... more


Monday, 23 March, 2020 UTC

javascript: Create a Function to Convert JS Numbers into CSS Hex Colors

JavaScript numbers and CSS hexadecimal numbers don't play very well together. You can solve this with a conversion function that takes the number, converts it to a string, then pads the string with the necessary zeroes at the start using `padStart`. ... more


Friday, 20 March, 2020 UTC

javascript: Create an Async Generator and Loop Through Generated Promises with "For Await Of" Loops

Generators can yield promises which can work with the "for await of" loop syntax. This lesson shows how all the pieces fit together and explains why the `async function*` syntax can be necessary for certain situations. ... more


Friday, 20 March, 2020 UTC

javascript: Use an Array of Promises with a For Await Of Loop

The "for await of" loop syntax enables you to loop through an Array of Promises and await each of the responses asynchronously. This lesson walks you through creating the array and awaiting each of the results. ... more


Friday, 20 March, 2020 UTC

javascript: Building Offline-first Cross-platform Apps with Expo and Amplify DataStore

Learn how to create a new Amplify DataStore project, integrate it with Expo, deploy to AWS, and interact with it from a two different platforms: Web and iOS. We'll demo queries, mutations, and subscriptions as well as how to test out the offline functionality. ... more


Friday, 20 March, 2020 UTC

netlify: Scaffolding and deploying a Netlify Function in JavaScript

We scaffold out a Netlify function in a new directory and access it via curl and the browser. ... more


Friday, 20 March, 2020 UTC

javascript: Using Cloudinary as a write-through cache for a Netlify Function that generates images

Every time we hit our function it runs the headless browser and regenerates the image. We can fix this by using Cloudinary as a write-through cache in front of our Netlify opengraph image generation function. If the image exists, Cloudinary will return ... more


Friday, 20 March, 2020 UTC

react: Convert an App Built with Reason & ReasonReact into JavaScript & React.

A live stream where Sean shows John what it takes to port Reason to JavaScript ... more


Thursday, 19 March, 2020 UTC

go: Call a Go WebAssembly function from JavaScript

*Go ^1.12* In this lesson, we will see how we can expose Go lang functions from a WebAssembly module so that we can interact with them from the JavaScript environment. ... more


Thursday, 19 March, 2020 UTC

javascript: Measuring used JS heap size in chrome

In this lesson we will see how to measure the used JS heap size in chrome. This can be used for various needs from performance debugging to production monitoring of apps. ... more


Thursday, 19 March, 2020 UTC

react: Render React Components conditionally with short circuits

In this lesson you will learn yet another way of using short circuit operator in JavaScript on the basis of React conditional rendering example ... more


Thursday, 19 March, 2020 UTC

javascript: Provide a Default Value with the OR operator in JavaScript

In this lesson you will learn what what is short circuiting in JavaScript. After we will go straight to one of the most popular use cases of it - providing a default fallback values for potentially not defined returns. ... more


Thursday, 19 March, 2020 UTC

javascript: Benchmark functions runtime in chrome console

Sometimes you'd like to measure how two implementations compare in regards to run time. In this lesson you will learn how to quickly do this using Console.time and constole.timeEnd. ... more


Thursday, 19 March, 2020 UTC

javascript: Load Values on Implicit JavaScript Arrow Function Returns

Using console.log() in arrow functions with implicit returns is usually a huge pain as you need to add curly bracers every time you want to peek at something before returning it. JavaScript short circuit OR operator makes it seamless and easy to place ... more


Thursday, 19 March, 2020 UTC

javascript: Save and load an app's profile session

Monitoring an app is a powerful tool for performance and debugging. Sometimes you'd might want to save profiles for later comparison or to share with colleagues. In this lesson, you'll see how to save a profile session to disk and load it back in chrome ... more


Thursday, 19 March, 2020 UTC

javascript: Building Real-time Offline-First Apps with React, GraphQL, & Amplify DataStore

In this video, we walk through how to create a new Amplify DataStore project, deploy it to AWS, and interact with it from a React app. ... more


Wednesday, 18 March, 2020 UTC

go: Access JS Functions and Variables from a Go WebAssembly Program

*Go ^1.12* In this lesson, we will see how we can interact with the JavaScript environment by using Go's `syscall/js` module to call and pass values into a JavaScript function, and access variables available in JS land. ... more


Tuesday, 17 March, 2020 UTC

javascript: Profiling a nodejs app from the chrome dev tools

In this lesson you will learn how to profile and analyze runtime performance of a nodejs app using the chrome dev tools. All you need is nodejs and chrome installed. ... more


Tuesday, 17 March, 2020 UTC

javascript: Create JavaScript Scratchpad with quokka.js in VSCode

In this lesson you will learn how to create a minimalistic JavaScript playground with quokka.js and zen mode. You will also get an overview of some cool features quokka provides. [Download quokka.js here](https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode) ... more