Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Methods and this keyword in javascript

62.8K views
•
April 18, 2018
by
Hitesh Choudhary
YouTube video player
Methods and this keyword in javascript

TL;DR

In this video, the instructor teaches about creating methods in JavaScript and using the "this" keyword to access object properties. Assignments are given to practice these concepts.

Transcript

hey there everyone has a shear back again with another video in our JavaScript course I hope you're enjoying this series if yes don't forget to let me notify in the comment section I read all of them so let's move further and of course learn code online dot in visit that so now let's get move ahead and try to make this Trello into version 3 but thi... Read More

Key Insights

  • 👻 JavaScript allows for the creation of methods within objects, similar to functions.
  • ♿ The "this" keyword is used to access and manipulate object properties within methods.
  • ❓ Assignments are given to practice creating methods and using the "this" keyword effectively.
  • 💱 The "this" keyword refers to the properties within the current object. Its context can change depending on where it is used.
  • ❓ Understanding the difference between a method and a function is crucial in JavaScript development.
  • 🫥 Using dot notation, we can access properties and call methods within objects.
  • 😕 The "this" keyword can be confusing for beginners, but it becomes clearer with practice and further study.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the difference between a method and a function in JavaScript?

Technically, there is no difference between a method and a function. If the function is inside an object or a class, it is called a method. Otherwise, it is referred to as a function.

Q: How can we access properties and call methods within an object in JavaScript?

To access properties and call methods within an object, we use dot notation. For example, if we have an object named "myObject" with a method named "myMethod", we can access it using "myObject.myMethod()".

Q: What does the "this" keyword refer to in JavaScript?

The "this" keyword refers to the properties within the current object. It allows us to access and manipulate these properties within methods.

Q: How can we create a method in JavaScript?

To create a method in JavaScript, we define a function within an object and assign it as a property. For example, we can create a method called "addMeeting" by defining a function inside an object like "addMeeting: function() { }".

Summary & Key Takeaways

  • The video introduces creating methods in JavaScript by showing how to create a method similar to console.log.

  • The "this" keyword is explained as a way to reference the properties within the current object.

  • Assignments are given to practice creating methods and using the "this" keyword to manipulate object properties.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Hitesh Choudhary 📚

AWS Architect for real world | LearnCodeOnline thumbnail
AWS Architect for real world | LearnCodeOnline
Hitesh Choudhary
creating a video player in java at 4 in morning thumbnail
creating a video player in java at 4 in morning
Hitesh Choudhary
Capacitor by Ionic - Successor of Cordova and phonegap thumbnail
Capacitor by Ionic - Successor of Cordova and phonegap
Hitesh Choudhary
God Father of AI warns about AI risks thumbnail
God Father of AI warns about AI risks
Hitesh Choudhary
WildCard Character Regular expressions thumbnail
WildCard Character Regular expressions
Hitesh Choudhary
Sunday Live 3 September, 2017 thumbnail
Sunday Live 3 September, 2017
Hitesh Choudhary

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.