I only know this
var domain = 'google.com'
How to create multiple var domain so I can add yahoo.com, bing.com etc.
Thank you.
how to create multiple var domain
Moderator: General Moderators
Re: how to create multiple var domain
See Array:
Code: Select all
var domain = ['google.com', 'bing.com', 'yahoo.com'];Re: how to create multiple var domain
Thank you, but this not working.kaszu wrote:See Array:Code: Select all
var domain = ['google.com', 'bing.com', 'yahoo.com'];
Re: how to create multiple var domain
Maybe it's not what you expected, but it is working and it is valid javascript.
What exactly you want to achieve?
What exactly you want to achieve?