
JavaScript Methods of RegExp and String
In this article we’ll cover various methods that work with regexps in-depth. 1. str.match(regexp) The method str.match(regexp) finds matches for regexp in the string str. It has 3 modes: If […]
In this article we’ll cover various methods that work with regexps in-depth. 1. str.match(regexp) The method str.match(regexp) finds matches for regexp in the string str. It has 3 modes: If […]
1. Overview A popup window is one of the oldest methods to show additional document to user. Basically, you just run: …And it will open […]
Forms and control elements, such as <input> have a lot of special properties and events. Working with forms will be much more convenient when we learn them. […]
One of the most important principles of object oriented programming – delimiting internal interface from the external one. That is “a must” practice in developing […]
1. Overview In the first chapter of this section, we mentioned that there are modern methods to setup a prototype. The __proto__ is considered outdated and somewhat […]
Arrays provide a lot of methods. To make things easier, in this chapter they are split into groups. 1. Add/remove items We already know methods […]
1. Overview JavaScript allows us to work with primitives (strings, numbers, etc.) as if they were objects. They also provide methods to call as such. […]
1. Java String.String() String objects can be created by either using literals: or by calling one of the constructors: If we use the String literal, it’ll try to reuse […]
1. Overview In this short article, we’ll take a quick look at how to invoke methods at runtime using the Java Reflection API. 2. Getting Ready […]
1. Overview In this tutorial, we’ll look at one of the most fundamental mechanisms in Java — thread synchronization. We’ll first discuss some essential concurrency-related […]