Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为了兼容4字节unicode字符,chars.split改为Array.from(chars) #175

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

abeet
Copy link
Contributor

@abeet abeet commented May 24, 2019

chars.split('') 会将4字节unicode字符拆成两个字符,改为Array.from(chars)

chars.split('') 会将4字节unicode字符拆成两个字符,改为Array.from(chars)
@aui
Copy link
Owner

aui commented May 29, 2019

Good! 是否 package.json 需要描述下 Node 兼容性?

"engines": {
    "node": ">= 4.0.0"
  }

@aui aui merged commit 7edaf6c into aui:master Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants