Skip to content

Conversation

@dcsuibian
Copy link

在我的理解中WebAssembly应该是像字节码一样的东西吧,应该是JavaScript和其它语言都编译成WebAssembly而不是其它语言编译成JavaScript。
对于btoa()方法,应该只能接收字符串值,其它值类似null这种好像都会被先转成"null"这样的字符串再运算。

还有两个我不知道怎么改的地方:
basic/introduction的2.4(1)中说“JavaScript 的所有值都是对象”,但其实还有原始值吧。
image

types/string中的这里:
image
能否采用其它说法?(虽然我也想不到更正确的说法)

@ruanyf
Copy link
Contributor

ruanyf commented Oct 14, 2021

这里是指包装对象,原始值可以看作是包装对象的特例。

@ruanyf ruanyf closed this Oct 14, 2021
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