哈勃
一个javascript镜头库
这意味着什么?
该库使检查和操作数据结构变得容易。 特别是镜头在高效的不可变更新方面表现出色。
那是一口,但我认为通过示例最容易理解。
// data structure to manipulate
var recipe = {
ingredients : [
{
name : "chocolate" ,
quantity : "1 cup"
}
] ,
steps : [
"unwrap chocolate" ,
"eat chocolate"
]
} ;
// get part of the data structure. in this case we're getting the name of
评论0
最新资源