var obj = { a: "hello", b: "this is", c: "javascript!", };. You can convert its values to an array by doing: var array = Object.keys(obj) .map(function(key) ...
確定! 回上一頁