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
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/
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
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
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
🧠 💻 The Programmer’s Brain: 3 types of confusion when you’re learning a new tech
The book is here It is highly recommended. If you have a background in neuroscience, you will enjoy it a lot! The programmer’s brain 🧠 When learning learn to recognize your confusion. Knowing what type of confusion you are facing can help you. There are 3 types of confusion: 1. Lack of knowledge Complete lack of knowledge in a specific domain so lacking domain specific
❣️🐻The Cute Weekend Guide to Phaser.js🐻❣️
Just some weekend learning fun
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
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.
Getters & Setters in JavaScript – part 2
carrying on from part 1 .. Getters in JavaScript Getters are functions that retrieve a value from static properties from an external source. You can only access properties and cannot access methods as they are functions of an object or class and are not static.There are three ways you can use getters and setters:1. Default method syntax2. get keyword3. Object.defineProperty() method We will now discuss
- 1
- 2
- 3
- …
- 6
- Next Page »