Bug Tracker

Modify

Ticket #7097 (closed feature: invalid)

Opened 3 years ago

Last modified 3 years ago

Using assignment '=' in if statement of JQuery library file

Reported by: nalleniv Owned by:
Priority: undecided Milestone: 1.4.3
Component: misc Version: 1.4.2
Keywords: assignment, =, == Cc:
Blocking: Blocked by:

Description

Did you intend to write an assignment in these statements with single '=' vs. double '=='?

Line 2800: if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { Line 2940: if ( (elem = checkSet[i]) ) {

Change History

comment:1 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to invalid

Yes. In the future, please use the  jQuery Forum if you have questions about the library.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.