Skip to content

Instantly share code, notes, and snippets.

View rrameshbtech's full-sized avatar

Ramesh Ramalingam rrameshbtech

  • ThoughtWorks
  • Coimbatore, India
  • 23:50 (UTC +05:30)
View GitHub Profile
const City = function (cityName, knownFor) {
this.name = cityName;
this.speciality = knownFor;
this.print = function () {
console.log(`${this.name} is know for ${this.speciality}`);
};
};
const karur = new City('Karur', 'Textiles');
@rrameshbtech
rrameshbtech / explicit-binding-this.js
Last active November 17, 2018 02:13
Explicit binding of this using call & apply
const siliconVallyOfIndia = {
city: 'Bengaluru',
speciality: 'software industries'
};
const texCity = {
city: 'Tiruppur',
speciality: 'textile industries'
};

Keybase proof

I hereby claim:

  • I am rrameshbtech on github.
  • I am rrameshbtech (https://keybase.io/rrameshbtech) on keybase.
  • I have a public key ASDPV0zpkPl2tktzxFR6-4fuDg9TClVeIY3HEUOEB4AtKAo

To claim this, I am signing this object:

<div class="card_block">
<div class="card_block_body form_body">
<div id="carePlan">
<div
class="panel-group"
id="accordion"
role="tablist"
aria-multiselectable="true"
>
<div class="card panel-default">