Skip to content

Instantly share code, notes, and snippets.

@sejoker
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sejoker/97bd9b4257412d9fc81f to your computer and use it in GitHub Desktop.
Save sejoker/97bd9b4257412d9fc81f to your computer and use it in GitHub Desktop.
JS Fundamentals homework 1
Задача №0.
Настроить JSHint для своего IDE
описание: http://www.jshint.com/install/
Задача №1.
Реализация функции deepCopy - для копирования объекта с учетом вложенных объектов:
var a = {b: ‘c’, d: {e: ‘f’}},
b = deepCopy(a);
a.d = 12;
b.d // {e: ‘f’}
тесты: http://plnkr.co/edit/jhc1oSkWg7g87W2gjfiq?p=preview
Задача №2.
Пройти воркшоп javascripting
Шаги по установки описаны здесь: https://www.npmjs.org/package/javascripting:
- в терминале запустить npm install --global javascripting
- после успешной установки запустить javascripting
Успешно выполненные задания сохраняйте отдельными .js файлами в вашем git репозитории.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment