Zoklet.net

Go Back   Zoklet.net > Technology > Technophiles and Technophiliacs > Codes of all kinds

Reply
 
Thread Tools
  #1  
Old 01-25-2010, 10:41 PM
Jaguarstrike Jaguarstrike is offline
Wealthy Merchant
 
Join Date: Jan 2009
Location: New York
Thanks: 19
Thanked 32 Times in 23 Posts
Default RELIABLE way to toggle a bool in javascript without setting it first. BANG BANG BANG!

varname = !(!(!(varname)));
__________________
I wouldn't count on it though -- try it in a virtual machine first. --eSparq

Last edited by Jaguarstrike; 01-25-2010 at 10:44 PM.
Reply With Quote
Reply

Bookmarks

Tags
bang, bool, javascript, reliable, setting, toggle

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who do you want to bang? Mordisk Generally Speaking 96 01-02-2010 11:42 PM
Bang wants to bang. bang Bat Country 3 11-11-2009 03:25 PM
Which one would you bang? Kidney Punch LOL, Internet 82 07-03-2009 04:13 AM
What would you rather bang? Craigslist.org Bat Country 10 06-03-2009 01:44 AM
What would you rather bang? Craigslist.org Bat Country 18 05-02-2009 06:20 AM


All times are GMT. The time now is 08:51 AM.


Hot Topics
Join our Chatroom!
Users: 8
Messages/minute: 0
Topic: "Only rule: be nice or I'll cut your fucking face off, dumbshit"
Users: 27
Messages/minute: 1.6
Topic: "http://codelove.org :: Below is above in 2 codes 1 love. :: wh..."
Users: 18
Messages/minute: 5
Topic: "http://www.literotica...."
Advertisements
Your ad could go right HERE! Contact us!

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.