After executing this scalajs code:
chrome.storage.Storage.sync.set(Map("key1" -> "value1"))
this javascript code
chrome.storage.sync.get(undefined, function(result) { console.log(JSON.stringify(result)); });
shows {"value1$5":"value1"} instead of {"key1":"value1"}
is this a bug?
also,
chrome.storage.Storage.sync.get(js.undefined).foreach(println)
throws an Error. why?