Search

Nalezeno "basics": 85

JavaScript Glossary: String toLowerCase()


Basics The toLowerCase() String method converts a string object to lower case. The return value of the method is the value of the calling string in lower case

JavaScript Glossary: String length


Basics The length property of the String object returns the number of code points in a string object. It indicates the length of the string

JavaScript Glossary: String trim()


Basics This method removes whitespaces from the start and end of the calling string. It removes spaces, tabs, no break spaces etc. It returns a new string stripped of whitespaces from both

JavaScript Glossary: String indexOf()


Basics This method checks for the first appearance of a provided string argument within the calling string and returns the index. It returns -1 if the string argument can’t be

JavaScript Glossary: String includes()


Basics The includes method checks a provided string against the calling String object, it returns true if the calling String object contains the provided string a

Get Started with Node: An Introduction to APIs, HTTP and ES6+ JavaScript


Jamie Corkhill has written this wonderful post about Node and I think it’s perhaps one of the best technical articles I’ve ever read. Not only is it jam-packed with information for folks like me who aren't writing JavaScript everyday, it is also incredibly deliberate as Jamie slowly walks through...

Crypto Tax Season: What you need to know


The basics to keep in mind when filing your tax returns involving cryptocurrencies this year. From the CMC Editorial Desk: It’s… taaaax season. Before you panic, what do you need to know as you’re filing returns on your crypto? Find […] The post Crypto Tax Season: What...

JavaScript Glossary: String concat()


Basics This method is used to join the calling string and the provided string arguments. It returns a new String object containing the calling string and the provided arguments . If no arg

JavaScript Glossary: Array unshift() Method


Basics The unshift array method appends a number of values to the start of a given array. It then returns the new length of the array. This method can take a number of argumen

JavaScript Glossary: Array .splice() Method


Basics The splice array method changes an existing array by removing, adding and/or replacing specified elements from it. The method mutates the array and returns an array of

JavaScript Glossary: Array .slice() Method


Basics The slice array method copies a given part of an array returning the selected part as an array. It doesn’t mutate the given array rather, it returns a new array

JavaScript Glossary: Array .reverse() Method


Basics This method changes the position of elements within the array. The first element goes to the last position and the last element goes to the first position. The method returns the re

JavaScript Glossary: Array .map() Method


Basics The map() method takes a callback method that performs an operation on the elements in the array. It returns a new array containing the resulting values of running the

JavaScript Glossary: Array.some()


Basics This method checks if any of the elements contained in an array passes a set test. If at least one of the elements passes this test, true is returned. This method only

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace