Install required NPM modules in the directory
npm install gulp jshint gulp-jshint jshint-stylish gulp-watch
Create your gulpfile.js
and paste in the following code
var gulp = require('gulp');
Install required NPM modules in the directory
npm install gulp jshint gulp-jshint jshint-stylish gulp-watch
Create your gulpfile.js
and paste in the following code
var gulp = require('gulp');
function Person(firstName, lastName, age, ssn) { | |
// Declaring this way by default will make your property | |
// readable, writable, and enumerable | |
this.firstName = firstName; | |
this.lastName = lastName; | |
// Let's make a getter-only method that returns the | |
// two values as a whole name | |
Object.defineProperty(this, 'fullName', { | |
get: function() { |
You can add a README file to your repository to tell other people why your project is useful, what they can do with your project, and how they can use it.
README files typically include information on: