Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
js functions inside of objects
Emmanuel Macapagal
Programming language:
Javascript
2021-07-08 14:58:01
0
Q:
js functions inside of objects
Fopopo
Code:
Javascript
2021-06-22 10:39:44
var person = { name: "Fred", sayName: function() { console.log(this.name); } }; person.sayName();
1
Tags
object
function
side
objects
Related
function inside a class component react
function inside object javascript
adding function to objects js
anonymous functions javascript
object inside object javascript
function to create an element javascript
how to create instance of class in javascript
FUNCION EN OBJETO JAVASCRIPT
js anonymous functions
javascript array of objects access properties
javascript return object in arrow function
if i pass an object to a function is it the same object javascript
function inside function javascript
create an object constructor javascript
object values javascript
New to Communities?
Join the community