I hereby claim:
- I am silent-lad on github.
- I am silentlad (https://keybase.io/silentlad) on keybase.
- I have a public key ASCXk8pYCYbegcKsPOKHAqTTAUMtnVH7FvxYF3JanA5Y0wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Vue as a replacement to Jquery and JS for DOM manipulation
The Vue Instance Lifecycle model and lifecycle hooks like created,mounted and hown and when to use them.
function Preposition(name_init) { | |
this.name = name_init; | |
this.displayName = function() { | |
console.log(`Preposition is ${this.name}`); | |
} | |
} | |
let these = new Preposition("these"); |
function Preposition(name_init) { | |
this.name = name_init; | |
this.displayName = function() { | |
console.log(`Preposition is ${this.name}`); | |
} | |
} | |
let these = new Preposition("these"); | |
these.displayName(); // Prints Preposition is these |
let confused = { | |
those: function() { | |
console.log(this === window); | |
}, | |
these: ()=> { | |
console.log(this === window); | |
} | |
} | |
confused.those(); //False |
function those () { | |
'use strict'; | |
console.log("Strict function hence this is undefined,Or is it?") | |
console.log(this === window); | |
} | |
let confused = { | |
those: those, | |
these: function() { | |
console.log(this === window); |
function Those(init) { | |
this.is_a_preposition = init; | |
this.displayProperty = function() { | |
console.log(`Is those a preposition? : ${this.is_a_preposition}`); | |
} | |
} | |
let word = new Those("yes"); | |
word.displayProperty(); //Prints :- Is those a preposition? : yes |
"use strict"; | |
function that () { | |
console.log("Normal call"); | |
console.log(this === window); | |
} | |
that(); |
function that () { | |
console.log("Normal call"); | |
console.log(this === window); | |
} | |
that(); | |
console.log(this === window) |
#!/usr/bin/env node | |
"use strict"; | |
var inquirer = require("inquirer"); | |
var chalk = require("chalk"); | |
var response = chalk.bold.green; | |
var resume = require("./resume.json"); |