Article
Communicating online and staying in touch with people all over the globe has been a major promise from the dawn of the Internet - a web of communication and information. Fairly early on, applications sprung up that connected people all over the globe, allowing them to send messages, multimedia, perform...
Lazar Ristic
Parsing URLs is a common task to perform during web development, and also one that seems to be simple but can get complex. It's not often that you come across a module that makes parsing so easy that you don't have to think a lot yourself. Despite being relatively young...
For web developers, validating user inputs in various types of forms is of crucial importance. Since that is the starting point of data being sent between the client and the server, you need to make sure that everything starts off on the right foot - lest you end up with...
In this article, we'll be taking a look at how to round a number to an integer (whole number) in JavaScript. JavaScript provides three different methods to achieve this goal: the round() method, the ceil() method and the floor() method. All of these are static methods of the Math object....
When working with any programming language, you'll probably need some functionality that is not integrated into that language natively. Thus, you'll either implement them yourself, or turn to using various modules or libraries. This directly affects the efficiency of your application (more memory usage, more HTTP requests, etc.). To avoid...
Groups of data in different forms are one of the fundamental data structures in most programming languages. In many cases, groups of data expressed through different data types are referred to as Collections. In this guide - we'll take a look at Collections in JavaScript and when to use which...
Matching strings or string patterns can be a real struggle. In the most common cases, you'll need these to validate emails, user inputs, file names, or most kinds of input strings. While there are many pattern-matching libraries and approaches - a time-tested approach is using Regular Expressions to define a...
When working in a request-response lifecycle, you want to make sure that a response with the wanted body - or at least an informative response arrives so the client that requested the data stays in the loop. In case of null values, you'll probably want to return a different result....
© 2013-2024 Stack Abuse. All rights reserved.