Teaching Newbies since 2014

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Archives for Javascript ❤

February 3, 2022 by: Kauress

What is the Callstack: a gentle introduction

What is the call stack? An understanding of the callstack will allow you to understand how execution order in JavaScript works. JavaScript is a single-threaded language; this means that it handles one task at a time. JavaScript code is executed by the JavaScript engine. Google’s V8 engine is an example of a popular JavaScript engine, there are others such as the SpiderMonkey and Rhino. The

[ Read More ]

February 1, 2022 by: Kauress

Hoisting in JavaScript – a complete guide

Let’s delve into hoisting in JavaScript! During compilation, microseconds before code is executed, variable and function declarations are “hoisted” i.e. they are added to memory inside a data structure called “lexical environment”. The official ES6 documentation describes the lexical environment as: “Lexical Environment is a specification type used to define the association of Identifiers to specific variables and functions based upon the lexical nesting structure

[ Read More ]

January 26, 2022 by: Kauress

Scroll down a webpage by focusing your mind – neuro app with Neurosity 🧠🧘🏽‍♀️💻 ✨

Using Neurosity Crown to do something fun ✨ The Neurosity Crown is a brain computer interface (BCI), basically a wearable EEG device that records brain activity via electrodes. They provide an API with documentation so its pretty easy to get started. Check Neurosity out here: https://neurosity.co/

[ Read More ]

January 24, 2022 by: Kauress

Scope in JavaScript & the 4 different types scope – Part 1

The word “scope” itself means “extent “or “range” to which a subject matter is limited to. In context to coding this means, that whether you can use a variable or not, is determined by where it is declared in your code. There are 4 types of scope in a JavaScript document, for example script.js 1. Global scope Inside a JavaScript document, global scope is the

[ Read More ]

January 23, 2022 by: Kauress

Hello world! Making a Neurosity App🧠🐱‍💻

So I decided to try out the hello world example over at Neurosity here It was easy to setup and get moving along on the console. I am now working on mini app which involves DOM changes. This means emitting data from the server to the frontend to induce some DOM changes. Then it’s pure DOM fun!💫 Neurosity is BCI (Brain Computer Interface). A BCI

[ Read More ]

January 23, 2022 by: Kauress

ECMAScript and JavaScript – don’t get confused !

ECMA which is short for European Computer Manufacturer’s Association, is an international organization that creates standards for technologies. One of these standards is called “ECMA-262”. ECMA-262 is the standard for creating a general purpose scripting language. This standard is commonly called ECMAScript specification. This specification contains rules and guidelines for creating a scripting language. JavaScript which is a client-side scripting language is one of the

[ Read More ]

January 10, 2022 by: Kauress

Brain-Computer Interfaces: The Crown by Neurosity

I recently got a wearable EEG device called the Crown from a company called Neurosity. The device measures brain waves which are electrical impulses in the brain. So since the brain is highly plastic (which means it can adapt) and the neurons are highly interconnected and generate these electrochemical impulses called brainwaves, I thought it would be interesting to measure my own brain waves primarily

[ Read More ]

June 5, 2021 by: Kauress

❣️🐻The Cute Weekend Guide to Phaser.js🐻❣️

phaserjs cute

Just some weekend learning fun

[ Read More ]

August 26, 2020 by: Kauress

Functions as objects

In JavaScript functions are a type of object known as function object. You can work with function objects as though they were objects. Functions may be assigned to objects, passed in as arguments to other functions, returned from other functions. Additionally a function can be passed into an array. And this gets me to earlier in my articles when I’ve stated “almost everything in JavaScript

[ Read More ]

August 25, 2020 by: Kauress

Getters & Setters in JavaScript – part 3

Setters in JavaScript. Check out parts 1 and  2 Setters in JavaScript There are three ways you can use  setters:1. Default method syntax2. get  keyword3. Object.defineProperty() method We will now discuss the above three in detail. 1. Default method syntax The default method syntax can also be used for setters. Setters will set the property of theobject to the value passed into the setter method.

[ Read More ]
  • 1
  • 2
  • 3
  • …
  • 8
  • Next Page »

Copyright © 2022 ·Kauress