let foo = JSON.parse( localStorage.getItem( 'bar' ) ) || {};
// -> undefined
console.log('look at this', foo)
// -> look at this {}
// -> undefined
Failed to start The Apache ...А полностью посмотреть ошибку, не?
<VirtualHost *:80>
ServerName test.loc
ServerAlias test.local
DocumentRoot "D:\projects\__test"
DirectoryIndex index.php
<Directory "D:\projects\__test">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Опишу подробнее: