• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/115

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

115 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)

^

Start of string

RegEx syntax

$

End of string

RegEx syntax

.

Any single character

RegEx syntax

(a|b)

a or b

RegEx syntax

(...)

Group section

RegEx syntax

[abc]

In range (a, b or c)

RegEx syntax

[^abc]

Not in range

RegEx syntax

\s

White space

RegEx syntax

a?

Zero or one of a

RegEx syntax

a*

Zero or more of a

RegEx syntax

a*?

Zero or more of a, ungreedy

RegEx syntax

a+

One or more of a

RegEx syntax

a+?

One or more of a, ungreedy

RegEx syntax

a{3}

Exactly 3 of a

RegEx syntax

a{3,}

3 or more of a

RegEx syntax

a{,6}

Up to 6 of a

RegEx syntax

a{3,6}

3 to 6 of a

RegEx syntax

a{3,6}?

3 to 6 of a, ungreedy

RegEx syntax

\

Escape character

RegEx syntax

[:punct:]

Any punctuation symbol

RegEx syntax

[:space:]

Any space character

RegEx syntax

[:blank:]

Space or tab

RegEx syntax

g

Global Match

Pattern Modifiers

i

Case-insensitive

Pattern Modifiers

m

Multiple lines

Pattern Modifiers

exec()

tests for a match in string, returns first matched text or null

RegEx Properties

test()

tests for match in string, returns t|f

RegEx Properties

toString()

returns string value of regular expressions

RegEx Properties

global

checks if "g" modifier is set for RegEx, returns t|f

RegEx Instances

ignoreCase

checks if "i" modifier is set for RegEx, returns t|f

RegEx Instances

lastIndex

specifies index at which to start next match, returns num

RegEx Instances

multiline

checks if "m" modifier is set for RegEx, returns t|f

RegEx Instances

source

returns the text of the RegEx pattern

RegEx Instances

A.constructor

returns function that created the array object's prototype

Arrays properties

A.length

sets or returns the number of objects in an array

Arrays properties

A.prototype.name=value

allows addition of new properties and methods to array

Arrays properties

A.concat( B, C,...)

returns new array containing values of joined arrays

Arrays Methods

A.join( null|separator )

joins elements of array into string and returns string

Arrays Methods

A.pop()

removes last element of array and returns shortened array

Arrays Methods

A.push( item1, item2, ...)

adds new items to end of array and returns enlarged array

Arrays Methods

A.reverse()

reverse order of elements in array and returns reversed array

Arrays Methods

A.shift()

removes first item in array and returns shortened array

Arrays Methods

A.slice(n,m)

returns selected elements in array starting at n and ending at m, negative values go from end of array and m can be omitted

Arrays Methods

A.sort( null|sortfunction )

sorts items of an array, null yields alphabetic and ascending

Arrays Methods

A.splice(n,r,item1,item2,...)

adds new items starting at n and removes r items starting at n, new items are optional

Arrays Methods

A.unshift( item1, item2, ...)

adds new items to beginning of array and returns enlarged array

Arrays Methods

string.valueOf()

returns primitive value of string object

Arrays Methods

Math.abs(x)

returns absolute value of number x

Number and Math

Math.acos(x)

returns arccosine of number x

Number and Math

Math.asin(x)

returns arcsine of number x

Number and Math

Math.atan(x)

returns arctangent of number x

Number and Math

Math.atan2(y, x)

returns arctangent of the quotient of y and x

Number and Math

Math.ceil(x)

returns number x rounded upwards to nearest integer

Number and Math

Math.cos(x)

returns cosine of number x

Number and Math

Math.E

returns Euler's number

Number and Math

Math.exp(x)

returns Ruler's number to the x power

Number and Math

Math.floor(x)

returns number x rounded downwards to nearest integer

Number and Math

Math.LN10

returns natural logarithm of 10

Number and Math

Math.LN2

returns natural logarithm of 2

Number and Math

Math.log(x)

returns natural logarithm of x

Number and Math

Math.LOG10E

returns base 10 logarithm of Euler's number

Number and Math

Math.LOG2E

returns base 2 logarithm of Euler's number

Number and Math

Math.max(n1,n2,...)

returns nx with highest value

Number and Math

Number.MAX_VALUE

returns largest possible number in javascript

Number and Math

Number.MIN_Value

returns smallest possible number in javascript

Number and Math

Number.NaN

property that indicates value is not a legal number

Number and Math

isNaN(value)

returns true if value is NaN and false if not

Number and Math

Math.min(x1,x2,...)

returns xn with lowest value

Number and Math

Number.NEGATIVE_INFINITY

property that represents -Infinity

Number and Math

Math.PI

returns the ratio of circle's area to the square of its radius

Number and Math

Number.POSITIVE_INFINITY

property that represents Infinity

Number and Math

Math.pow(x,y)

returns x to the y power

Number and Math

Math.random()

returns a rndom number from 0 up to but not including 1

Number and Math

Math.round(x)

returns number x rounded to nearest integer

Number and Math

Math.sin(x)

returns sine of number x

Number and Math

Math.sqrt(x)

returns the squre root of number x

Number and Math

Math.SQRT1_2

returns square root of 1/2

Number and Math

Math.SQRT2

returns the square root of 2

Number and Math

Math.tan(x)

returns the tangent of angle x in radians

Number and Math

X.toExponential(x)

returns number X in exponential notation with 0 <= x <= 20 digits after decimal

Number and Math

X.toFixed(x)

returns number X as string with x digits after the decimal

Number and Math

X.toPrecision(x)

returns number X formatted to x digits in length

Number and Math

X.toString(radix)

converts to string and returns result as base of specific radix

Number and Math

X.valueOf()

returns primative value of number X object

Number and Math

str.charAt(index)

returns character at specified index in string

Strings

str.charCodeAt(index)

returns unicode character at specified index in string

Strings

str1.concat(str2,...)

returns new string containing concatenated strings

Strings

String.fromCharCode(n1,n2,..)

returns unicode values nx as string

Strings

str.indexOf(searchvalue,start)

returns position of first occurrence of search value in string, optionally starting at index start from begging of string

Strings

str.lastIndexOf(searchvalue,start)

returns position of first occurrence of search value in string, optionally starting at index start from end of string

Strings

str.length

returns length property of string

Strings

str.localeCompare(comparestring)

returns -1|0|1 for: str sorted before comparestring|strings are equal|str sorted after compare string

Strings

str.match(regexp)

returns array object of matches for regexp on string

Strings

str.replace(sreachvalue,newvalue)

searches a string for searchvaule(s) and replaces with new value

Strings

str.search(searchvalue)

searches a string for searchvalue and returns index of first match found

Strings

str.slice(start,end)

returns new string from start to end indexes, end is optional

Strings

str.split(separator,limit)

searches for separator and returns array of strings optionally limited in items returned

Strings

str.substr(start,length)

returns new string from specified start index, length is optional and limits characters returned

Strings

str.substring(start,end)

returns new string from start to end not including end index, end is optional

Strings

str.toLowerCase()

returns new string with all lower case letters

Strings

str.toUpperCase()

returns new string with all uppercase characters

Strings

str.toLocaleLowerCase()

returns new string with all lower case letters, according to host's locale

Strings

str.toLocaleUpperCase()

returns new string with all uppercase characters, according to host's locale

Strings

str.valueOf()

returns primitive value of string

Strings

decodeURI(uri)

decodes uri

functions

decodeURIComponent(uri)

decodes uri component

functions

encodeURI(uri)

endoces special characters except: ,/?:@&=+$#

functions

encodeURIComponent(uri)

encodes special characters

functions

eval(string)

evaluates or executes an argument; only use in very special circumstances!!!

functions

isFinite(value)

returns t|f if value is a legal finite number, false if -/+ infinity or NaN

functions

isNaN(value)

returns t|f if value is an illegal number, true if value is NaN

functions

Number(object)

converts object argument to a number that represents the objects value

functions

parseFloat(string)

parses a string and returns a floating point number, only first number in string is returned!

functions

parseInt(string,radix)

parses string and returns integer, radix is optional and sets numeral system to be used

functions

new String("string")

instantiates a new string object

functions