📜  localForage - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:37.233000             🧑  作者: Mango

代码示例2
// Save our users.
var users = [ {id: 1, fullName: 'Matt'}, {id: 2, fullName: 'Bob'} ];
localForage.setItem('users', users, function(result) {
    console.log(result);
});