阅读背景:

可以JSON序列化使用* functions *作为键的数组吗?

来源:互联网 

I'm dabbling with a linguistics Javascript project. I'd like to build it using objects to represent Nouns and functions to store Verbs as this makes conceptualizing my project less difficult. I'm using functions as keys to an object (I've written an example below). Will it be possible to serialize this with JSON when it comes time to save the data. I'm dabbling with a linguistics Javascript proj




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: