# SJS 标准库

SJS 内置了少量标准库，使用方法可以参考 JavaScript。

## console

### 方法

`console.log`

## Math

### 属性

- `Math.E`
- `Math.LN10`
- `Math.LN2`
- `Math.LOG2E`
- `Math.LOG10E`
- `Math.PI`
- `Math.SQRT1_2`
- `Math.SQRT2`

### 方法

- `Math.abs`
- `Math.acos`
- `Math.asin`
- `Math.atan`
- `Math.atan2`
- `Math.ceil`
- `Math.cos`
- `Math.exp`
- `Math.floor`
- `Math.log`
- `Math.max`
- `Math.min`
- `Math.pow`
- `Math.random`
- `Math.round`
- `Math.sin`
- `Math.sqrt`
- `Math.tan`

## JSON

- `JSON.stringify`
- `JSON.parse`

## Number

- `Number.MAX_VALUE`
- `Number.MIN_VALUE`
- `Number.NEGATIVE_INFINITY`
- `Number.POSITIVE_INFINITY`

## Date

- `Date.parse`
- `Date.UTC`
- `Date.now`

## 全局对象

### 属性

- `NaN`
- `Infinity`
- `undefined`

### 方法
- `parseInt`
- `parseFloat`
- `isNaN`
- `isFinite`
- `decodeURI`
- `decodeURIComponent`
- `encodeURI`
- `encodeURIComponent`
