Skip to content

Instantly share code, notes, and snippets.

@surajitbasak109
Last active January 22, 2017 13:26
Show Gist options
  • Save surajitbasak109/e14438c1f6c40f690abc6fab1627ed3d to your computer and use it in GitHub Desktop.
Save surajitbasak109/e14438c1f6c40f690abc6fab1627ed3d to your computer and use it in GitHub Desktop.
# format=pipe
# Javascript standard tags, created by Surajit Basak <surajitbasak109(at)gmail(dot)com>
document
# For selecting element
getElementById
getElementsByClassName
getElementsByName
getElementsByTagName
getElementsByTagNameNS
querySelector
querySelectorAll
parentElement
# Canvas
getContext
fillStyle
getpixelamount
getImageData
getpixelcolour
clearRect
currentTransform
direction
strokeText
font
filter
globalAlpha
globalCompositeOperation
imageSmoothingEnabled
imageSmoothingQuality
lineCap
lineDashOffset
lineJoin
lineWidth
miterLimit
shadowBlur
shadowColor
shadowOffsetX
shadowOffsetY
strokeStyle
textAlign
textBaseline
arc
arcTo
asyncDrawXULElement
beginPath
bezierCurveTo
clearHitRegions
clearRect
clip
closePath
createImageData
createLinearGradient
createPattern
createRadialGradient
drawFocusIfNeeded
drawImage
drawWidgetAsOnScreen
drawWindow
ellipse
fill
fillRect
fillText
getImageData
getLineDash
isPointInPath
isPointInStroke
lineTo
measureText
moveTo
putImageData
quadraticCurveTo
rect
removeHitRegion
resetTransform
restore
rotate
save
scale
scrollPathIntoView
setLineDash
setTransform
stroke
strokeRect
strokeText
transform
translate
# Array
length
isArray
findIndex
forEach
includes
indexOf
join
keys
lastIndexOf
map
pop
push
reduce
reduceRight
reverse
shift
slice
some
sort
splice
toLocaleString
toSource
toString
unshift
values
# Date Object
Date.UTC
Date.now
Date.parse
getDate
getDay
getFullYear
getHours
getMilliseconds
getMinutes
getMonth
getSeconds
getTime
getTimezoneOffset
getUTCDate
getUTCDay
getUTCFullYear
getUTCHours
getUTCMilliseconds
getUTCMinutes
getUTCMonth
getUTCSeconds
getYear
setDate
setFullYear
setHours
setMilliseconds
setMinutes
setMonth
setSeconds
setTime
setUTCDate
setUTCFullYear
setUTCHours
setUTCMilliseconds
setUTCMinutes
setUTCMonth
setUTCSeconds
setYear
toDateString
toGMTString
toISOString
toJSON
toLocaleDateString
toLocaleFormat
toLocaleString
toLocaleTimeString
toSource
toString
toTimeString
toUTCString
valueOf
# Math Object
# Properties
Math.E
Math.LN10
Math.LN2
Math.LOG10E
Math.LOG2E
Math.PI
Math.SQRT1_2
Math.SQRT2
# Methods
Math.abs()
Math.acos()
Math.acosh()
Math.asin()
Math.asinh()
Math.atan()
Math.atan2()
Math.atanh()
Math.cbrt()
Math.ceil()
Math.clz32()
Math.cos()
Math.cosh()
Math.exp()
Math.expm1()
Math.floor()
Math.fround()
Math.hypot()
Math.imul()
Math.log()
Math.log10()
Math.log1p()
Math.log2()
Math.max()
Math.min()
Math.pow()
Math.random()
Math.round()
Math.sign()
Math.sin()
Math.sinh()
Math.sqrt()
Math.tan()
Math.tanh()
Math.trunc()
## Number Object
# Properties
Number.EPSILON
Number.MAX_SAFE_INTEGER
Number.MAX_VALUE
Number.MIN_SAFE_INTEGER
Number.MIN_VALUE
Number.NEGATIVE_INFINITY
Number.NaN
Number.POSITIVE_INFINITY
Number.prototype
# Properties
Number.isFinite()
Number.isInteger()
Number.isNaN()
Number.isSafeInteger()
Number.parseFloat()
Number.parseInt()
toExponential()
toFixed()
toLocaleString()
toPrecision()
toSource()
toString()
valueOf()
## RegExp
match
test
replace
## String
# Methods
String.fromCharCode()
String.fromCodePoint()
anchor()
big()
blink()
bold()
charAt()
charCodeAt()
codePointAt()
concat()
endsWith()
fixed()
fontcolor()
fontsize()
includes()
indexOf()
italics()
lastIndexOf()
link()
localeCompare()
match()
normalize()
padEnd()
padStart()
quote()
repeat()
replace()
search()
slice()
small()
split()
startsWith()
strike()
sub()
substr()
substring()
sup()
toLocaleLowerCase()
toLocaleUpperCase()
toLowerCase()
toSource()
toString()
toUpperCase()
trim()
trimLeft()
trimRight()
valueOf()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment