1.2.0 • Published 8 years ago

baseline.js v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

#baseline-js

为包括IE6的浏览器里提供统一的JS API(ES6+),让所有浏览器里运行的JS拥有一致的输入输出

##构建状态

Build Status MIT License

##基础方法

###Array

  • isArray
  • of
  • prototype.concat
  • prototype.copyWithin
  • prototype.every
  • prototype.filter
  • prototype.forEach
  • prototype.indexOf
  • prototype.join
  • prototype.lastIndexOf
  • prototype.map
  • prototype.pop
  • prototype.push
  • prototype.reduce
  • prototype.reduceRight
  • prototype.reverse
  • prototype.shift
  • prototype.slice
  • prototype.some
  • prototype.sort
  • prototype.splice
  • prototype.toLocaleString
  • prototype.toString
  • prototype.unshift
  • prototype.entries
  • prototype.fill
  • prototype.find
  • prototype.findIndex
  • prototype.keys

###Boolean

  • prototype.toString
  • prototype.valueOf"

###Date

  • UTC
  • now
  • parse
  • prototype.getDate
  • prototype.getDay
  • prototype.getFullYear
  • prototype.getHours
  • prototype.getMilliseconds
  • prototype.getMinutes
  • prototype.getMonth
  • prototype.getSeconds
  • prototype.getTime
  • prototype.getTimezoneOffset
  • prototype.getUTCDate
  • prototype.getUTCDay
  • prototype.getUTCFullYear
  • prototype.getUTCHours
  • prototype.getUTCMilliseconds
  • prototype.getUTCMinutes
  • prototype.getUTCMonth
  • prototype.getUTCSeconds
  • prototype.getYear
  • prototype.setDate
  • prototype.setFullYear
  • prototype.setHours
  • prototype.setMilliseconds
  • prototype.setMinutes
  • prototype.setMonth
  • prototype.setSeconds
  • prototype.setTime
  • prototype.setUTCDate
  • prototype.setUTCFullYear
  • prototype.setUTCHours
  • prototype.setUTCMilliseconds
  • prototype.setUTCMinutes
  • prototype.setUTCMonth
  • prototype.setUTCSeconds
  • prototype.setYear
  • prototype.toDateString
  • prototype.toGMTString
  • prototype.toISOString
  • prototype.toJSON
  • prototype.toLocaleDateString
  • prototype.toLocaleString
  • prototype.toLocaleTimeString
  • prototype.toString
  • prototype.toUTCString
  • prototype.valueOf

###Function

  • length
  • prototype.apply
  • prototype.bind
  • prototype.call
  • prototype.toString

###Infinity

###isFinite

###isNaN

###Iterator

###JSON

  • parse
  • stringify

###Map

  • prototype.clear
  • prototype.delete
  • prototype.entries
  • prototype.forEach
  • prototype.get
  • prototype.has
  • prototype.keys
  • prototype.set
  • prototype.values

###Math

  • E
  • LN10
  • LN2
  • LOG10E
  • LOG2E
  • PI
  • SQRT1_2
  • SQRT2
  • abs
  • acos
  • asin
  • atan
  • atan2
  • ceil
  • cos
  • exp
  • floor
  • log
  • max
  • min
  • pow
  • random
  • round
  • sin
  • sqrt
  • tan
  • acosh
  • asinh
  • atanh
  • cbrt
  • clz32
  • cosh
  • expm1
  • fround
  • hypot
  • imul
  • log10
  • log1p
  • log2
  • sign
  • sinh
  • tanh
  • trunc

###Number

  • EPSILON
  • MAX_VALUE
  • MIN_VALUE
  • NEGATIVE_INFINITY
  • NaN
  • POSITIVE_INFINITY
  • prototype.toExponential
  • prototype.toFixed
  • prototype.toLocaleString
  • prototype.toPrecision
  • prototype.toString
  • prototype.valueOf
  • isFinite
  • isInteger
  • isNaN
  • parseFloat
  • parseInt
  • toInteger

###Object

  • create
  • defineProperties?
  • defineProperty?
  • freeze
  • getOwnPropertyDescriptor
  • getOwnPropertyNames
  • getPrototypeOf
  • isExtensible
  • isFrozen
  • isSealed
  • keys
  • preventExtensions
  • hasOwnProperty
  • isPrototypeOf
  • propertyIsEnumerable
  • toLocaleString
  • toString
  • valueOf
  • seal
  • is
  • setPrototypeOf"

###RegExp

  • lastIndex
  • global
  • ignoreCase
  • multiline
  • source
  • exec
  • test
  • toString

###Set

  • prototype.add
  • prototype.clear
  • prototype.delete
  • prototype.entries
  • prototype.forEach
  • prototype.has
  • prototype.values

###String

  • length
  • fromCharCode
  • prototype.anchor
  • prototype.big
  • prototype.blink
  • prototype.bold
  • prototype.charAt
  • prototype.charCodeAt
  • prototype.concat
  • prototype.fixed
  • prototype.fontcolor
  • prototype.fontsize
  • prototype.indexOf
  • prototype.italics
  • prototype.lastIndexOf
  • prototype.link
  • prototype.localeCompare
  • prototype.match
  • prototype.replace
  • prototype.search
  • prototype.slice
  • prototype.small
  • prototype.split
  • prototype.strike
  • prototype.sub
  • prototype.substr
  • prototype.substring
  • prototype.sup
  • prototype.toLocaleLowerCase
  • prototype.toLocaleUpperCase
  • prototype.toLowerCase
  • prototype.toString
  • prototype.toUpperCase
  • prototype.trim
  • prototype.valueOf
  • fromCodePoint
  • prototype.codePointAt
  • prototype.contains
  • prototype.endsWith
  • prototype.repeat
  • prototype.startsWith
  • prototype.trimLeft
  • prototype.trimRight

###Promise

  • then
  • catch
  • resolve
  • reject
  • all
  • race
1.2.0

8 years ago

1.1.2

8 years ago