Search the web
Sign In
New User? Sign Up
jslint_com · JSLint.com

Group Information

  • Members: 191
  • Category: JavaScript
  • Founded: Mar 7, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Stay up to speed on the latest Groups news and updates, visit the Groups blog today!

Home

 

Activity within 7 days:

2 New Members - 27 New Messages - New Questions

Description

JSLint is a code quality tool. Warning: JSLint will hurt your feelings.

This group is for discussion of JSLint, including feature requests, complaints, update announcements, and testimonials.

When requesting membership, please present evidence that you are not a spambot.

Most Recent Messages

  (View All)
(Group by Topic)
Advanced
   Start Topic
Posted - Thu Jul 9, 2009 10:03 pm
Douglas Crockford
douglascrock...
Offline Offline
Send Email Send Email
Re: console read only
... They why are unary operators frowned upon by the jslint tool? ... Operators require something to act upon. ... Functions are objects. Types are derived
Posted - Thu Jul 9, 2009 9:57 pm
sandyhead25
Offline Offline
Send Email Send Email
Re: Nested ?: operator values.
Yeah, I did exactly that first too, but { val1 : val2 } is equivalent to { "val1" : val2 }. The braces notation only works if the sequence is expressed as
Posted - Thu Jul 9, 2009 5:41 pm
Michael Lorton
mlorton
Online Now Online Now
Send Email Send Email
Re: Nested ?: operator values.
... I did a little tinkering, and here's what I came up with: return (this[prop] = ({ val1: val2, val2: val1 })[this[prop]]); What a fantastic construct.
Posted - Thu Jul 9, 2009 4:38 pm
pauanyu
Offline Offline
Send Email Send Email
Re: Nested ?: operator values.
... Oh, I see! So this works: return (this[prop] = (this[prop] === val1) ? val2 : (this[prop] === val2) ? val1 : this[prop]); Thanks for your help. Nice to
Posted - Thu Jul 9, 2009 3:31 pm
pauanyu
Offline Offline
Send Email Send Email
Add jslint_com to your personalized My Yahoo! page Add to My Yahoo! XML What's This?

Message History

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2009 31 8 35 39 110 133 31
2008 14 20 33 26 44 73 44 47 14 28
What is Yahoo! Answers?

Yahoo! Answers, a new Yahoo! community, is a question and answer exchange where the world gathers to share what they know...and make each other's day. People can ask questions on any topic, and help others out by answering their questions.

What is Yahoo! Answers?

Yahoo! Answers, a new Yahoo! community, is a question and answer exchange where the world gathers to share what they know...and make each other's day. People can ask questions on any topic, and help others out by answering their questions.

Questions in Computers & Internet > Programming & Design

  • Questions are currently unavailable.

Want to help answer other questions? Go to Yahoo! Answers

Group Email Addresses


Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help