Open in app

Sign In

Write

Sign In

Tosh
Tosh

18 Followers

Home

About

May 11, 2021

JavaScript Helper to determine the type of your variable

Continuously you will need to know what type are the variables in order to create conditionals that are prepared to manipulate and maintain your code stable. For that reason I give you a cheat sheet to establish what is exactly your variable. These are functions to which you pass your…

2 min read

JavaScript Helper to determine the type of your variable
JavaScript Helper to determine the type of your variable

2 min read


May 8, 2021

Turning JavaScript Asynchronously with Async-Await

Async/await was introduced in 2017 with ES8. It is a way to execute your code asynchronously without blocking the thread. Instead of using callbacks and promises the async/await syntax makes your code more readable and maintainable. Creating an Async function To create an async function we just need to add the async keyword before…

3 min read

Turning JavaScript Asynchronously with Async-Await
Turning JavaScript Asynchronously with Async-Await

3 min read


May 2, 2021

JavaScript foundation

I will list some quick facts and concepts you probably did not know about JS. Type coercion Type coercion is the process of converting value from one type to another. Since JavaScript is a weakly-typed language, it converts two different typed variables when you use its operators. A great cheat sheet for…

6 min read

JavaScript foundation
JavaScript foundation

6 min read


Apr 24, 2021

JavaScript String Methods

JavaScript has some useful string methods that are built into , I will share 5 methods that I find the most useful . I’ll quickly review some core concepts relating to strings. String In JavaScript, strings are any sequence of characters. …

7 min read

JavaScript String Methods
JavaScript String Methods

7 min read


Apr 18, 2021

Proper way to use error handling in Javascript

In programming unintended side-effects called errors can and will happen in your code. Allowing these errors to be introduced to people that are using your programs is frowned upon and a very bad user experience. Error Handling is the technique of smoothly handling these errors and providing useful information to…

2 min read

Proper way to use error handling in Javascript
Proper way to use error handling in Javascript

2 min read


Apr 11, 2021

JavaScript Algorithm: Doubly Linked Lists

A Doubly Linked List (DLL) is a linked data structure consists of a set of sequentially linked records called nodes which contains a lot of data elements and is even able to do a lot of operations such as insertion, delete, remove and add. Start Similar to a singly linked list…

8 min read

JavaScript Algorithm: Doubly Linked Lists
JavaScript Algorithm: Doubly Linked Lists

8 min read


Apr 4, 2021

JavaScript Array Methods

Array is a special variable that is use to store different elements, to get the most of it let’s take a look to some methods JavaScript offers us. 1. some() This method tests the array with a function passed as a parameter. …

4 min read

JavaScript Array Methods
JavaScript Array Methods

4 min read


Mar 27, 2021

Testing React Hooks

In this post I want to explain how to test most popular React Hooks using jest and enzyme. To test react lifecycle, we need to use mount instead of using shallow. useState To test useState I created a small component with a title and a button to change that title. function…

3 min read

Testing React Hooks
Testing React Hooks

3 min read


Mar 20, 2021

Cheat Sheet CURD Fetch API

CRUD Operation? The acronym CRUD stands for Create, Read, Update and Delete. Create: Inserts a new data Read: Read the data Update: Update the existing data Delete: Delete the existing data List of HTTP Request methods GET — is used to request data from a specified resource. POST — is used to send data to a server to…

2 min read

Cheat Sheet CURD Fetch API
Cheat Sheet CURD Fetch API

2 min read


Mar 14, 2021

Deploying Rails App to Heroku

Heroku account 1) Here’s the link: https://signup.heroku.com/ 2) You’ll be creating a new app and adding your app’s name and region. Heroku Set up 1) Install Heroku CLI. On a Mac, if you have homebrew, run brew tap heroku/brew && brew install heroku in the terminal, otherwise check out the documentation. 2) In the root…

4 min read

Deploying Rails App to Heroku
Deploying Rails App to Heroku

4 min read

Tosh

Tosh

18 Followers

Software Engineering student @Flatiron

Following
  • Eric Elliott

    Eric Elliott

  • Reinald Reynoso

    Reinald Reynoso

  • Nick Bull

    Nick Bull

  • Arun Kant Pant

    Arun Kant Pant

  • Esther 승연 Kang

    Esther 승연 Kang

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech