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
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
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
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
Unity Editor Basics #10: Tool bar: Move tool ➡️
➡️ The move tool allows you to move a game object around in the scene ➡️ The move tool allows you to move a game object around in the scene ➡️ It is used for positioning
Unity Editor Basics #9: Tool bar: Hand tool ✋
✋ The hand tool allows you to pan/move around the scene with the mouse without moving or shifting any game object ✋The keyboard shortcut is: Q ✋ This is different from the fly through mode which will basically allow you to move very fast in the scene ✋To enter fly through mode press on the right mouse button and then use the WASD keys to
Color picker in Virtual Reality. Made with Unity for Oculus Quest 1, 2
Unity Prefabs vanity notes 🐻🍯✨
Just some kawaii notes
Unity Editor Basics #5: Menu bar: GameObject📦
🔮The menu bar is right below the title bar 🔮Has all these menu options: File, Edit, Assets, GameObject, Component, Window and Help 🔮The GameObject option has options to allow you to add new game objects 🔮A GameObject is anything with a “Transform Value.” Transforming means being able to move, scale, or rotate an object such as a cube 🔮 You can also make new game
- 1
- 2
- 3
- …
- 6
- Next Page »