Web Development

Javascript-array-method

JavaScript Array Methods

Converting Arrays to Strings The JavaScript method toString() converts an array to a string of (comma separated) array values. Example const fruits = [“Banana”, “Orange”, “Apple”, “Mango”]; let fruitsString = fruits.toString(); console.log(fruitsString); Result: Banana,Orange,Apple,Mango The join() method also joins all array elements into a string. It behaves just like toString(), but in addition you can specify the separator: Example const fruits = [“Banana”, “Orange”, “Apple”, “Mango”]; let fruitsJoin […]

JavaScript Array Methods Read More »

JavaScript,
JavaScript Variable

JavaScript Variables

In Javascript there are Four Ways to Declare a JavaScript Variable:   Using var Using let Using const Using nothing Variables are containers for storing data (storing data values). The var is the oldest keyword to declare a variable in JavaScript. Scope: Global scoped or function scoped. The scope of the var keyword is the global or function scope. It means

JavaScript Variables Read More »

JavaScript, Web Development
javascript function

Difference between First-Class and Higher-Order Functions in JavaScript

A programming language is said to have First-class functions when functions in that language are treated like any other variable. For example, in such a language, a function can be passed as an argument to other functions, can be returned by another function and can be assigned as a value to a variable. Example |

Difference between First-Class and Higher-Order Functions in JavaScript Read More »

JavaScript, Web Development,
Javascript call stack model

Javascript Call Stack

A call stack is a mechanism for an interpreter (like the JavaScript interpreter in a web browser) to keep track of its place in a script that calls multiple functions — what function is currently being run and what functions are called from within that function, etc. When a script calls a function, the interpreter adds it to the

Javascript Call Stack Read More »

Bootstrap, CSS, HTML 5, JavaScript, Web Development
web accessibility

how You Can Make Your Website More Accessible

What Is Web Accessibility? Web accessibility is about designing and developing websites, tools, and technologies that people with disabilities can use, according to the World Wide Web Consortium (W3C). People with disabilities should be able to perceive, understand, navigate, and interact with, and contribute to the web. Web accessibility applies to all disabilities that affect access to the

how You Can Make Your Website More Accessible Read More »

Technology, Web Development
Scroll to Top