KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This is valid in php: $x=$y='value'; This will in esscence set both $x and $y to 'value'. Is this valid in javascript? var x=y='value'; I have tested it in chrome console and it worked as expected, but just wanted to double check before starting to use it.
Tags (comma-separated)
Save Edits
Cancel