Search results
-
Javascript Slice Array Method
The slice method is one of the built-in methods you can use on Array instance in Javascript. The method selects a portion of...
-
Javascript For Each Loop
JavaScript forEach is one of the built-in methods you can use to loop through the array and execute some functionality on eac...
-
Typescript Function Overloading
Function overloading or method overloading in Typescript allows you to declare multiple functions or methods with the same na...
-
PHP Split Date and Time
In order to split date and time or get one of these from the dateTime instance, we can use method called format(). To get a d...
-
PHP Spit String
In order to split a string in PHP, you can use a built-in function called explode(). This function requires at least two para...
-
Javascript includes string method
JavaScript includes is a method available on String and Array types. In this short tutorial, I'll show you how to use this me...
-
Javascript Filter - How to use array filter method?
JavaScript filter is another one of the essential methods you can use to loop through the array. The output of this method is...
-
How to loop through array-like objects
Array-like object in Javascript is an object which has a length property of non-negative integer. It usually has some indexed...
-
Get UTC timestamp in PHP
PHP timestamp can be obtained by using DateTime class and specifying the UTC timezone with an instance of DateTimeZone.This i...
-
Split time to hours, minutes and seconds in Javascript
Split time to hours, minutes and seconds in Javascript can be achieved by using a method called split() on the time string wi...
-
Get a UTC timestamp in Javascript
Javascript timestamp can be obtained by using a method called getTime which is availabled on Date object.As said, the getTime...