Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

for in javascript

const user ={
name:'Shirshak',
age:25,
subscibers:200,
money:'lolno'
}

for(let x in user){
console.log(user[x]) //name,age,subscriber and money(only get key not value)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
3+6 =