---
title: "Gary Ditsch (@garyditsch) | Hashnode"
description: "Gary Ditsch (@garyditsch) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@garyditsch"
---

@garyditsch

# Gary Ditsch

@garyditsch · Joined July 2022

### [Async/Await and Handling Promises from our Api](https://garyditsch.hashnode.dev/asyncawait-and-handling-promises-from-our-api?utm_source=hashnode&utm_medium=feed)

One of the objectives we have in the Intro to Web class is to build a website that brings in data from an api. We will use that data to supply some interactive features on the web pages. To this point, in order to get data from our chosen api, we us...

4 min read · [garyditsch.hashnode.dev](https://garyditsch.hashnode.dev/asyncawait-and-handling-promises-from-our-api?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/asyncawait-and-handling-promises-from-our-api/62eed76ee3a3793580e01588) [Aug 6, 2022](https://hashnode.com/posts/asyncawait-and-handling-promises-from-our-api/62eed76ee3a3793580e01588)

### [Learn the basics of variable scope in javascript](https://garyditsch.hashnode.dev/learn-the-basics-of-variable-scope-in-javascript?utm_source=hashnode&utm_medium=feed)

In javascript, there are three types of scope: global, function, and block. Prior to ES6, javascript only had global and function scope, so let's start with those two examples. Function Scope When a function is created that function creates its own...

3 min read · [garyditsch.hashnode.dev](https://garyditsch.hashnode.dev/learn-the-basics-of-variable-scope-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jul 30, 2022](https://hashnode.com/posts/learn-the-basics-of-variable-scope-in-javascript/62e52081430bd1d04a8412ad)

### [Javascript object references & creating a copy](https://garyditsch.hashnode.dev/javascript-object-references-creating-a-copy?utm_source=hashnode&utm_medium=feed)

The way that javascript objects store values as variables can cause issues if you are unaware of how it is done. The difference is that values are stored as a reference, in contrast to primitive data types which are stored as the actual value. As a ...

5 min read · [garyditsch.hashnode.dev](https://garyditsch.hashnode.dev/javascript-object-references-creating-a-copy?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/javascript-object-references-creating-a-copy/62dd3d02b12ca5754f6a6a84) [Jul 24, 2022](https://hashnode.com/posts/javascript-object-references-creating-a-copy/62dd3d02b12ca5754f6a6a84)
