- Run testem from this directory.
- Copy and paste the url into a browser.
- For each question, read the README, and then write your code in the .js file in each directory.
- Save your work to update the tests.
- cd to correct directory
- npm install
- npm test
obj.hasOwnProperty(key)- 1: es3
for(letkeyinobj){returnobj[key]}- 2: ES5
letkeys=Object.keys(obj1)Object.keys(obj1).forEach(function(key){letval=obj1[key]})- 3: ES
for(constkeyofObject.keys(obj1)){constval=obj1[key]}- 4: ES7
constvalues=Object.values(obj);for(constvalueofObject.values(obj1)){returnvale}string.split("")
"hello" => [ 'h', 'e', 'l', 'l', 'o' ]