The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.javascript
From: dhtml <dhtmlkitc...@gmail.com>
Date: Sun, 28 Sep 2008 12:04:04 -0700
Local: Sun, Sep 28 2008 3:04 pm
Subject: Re: Need some JavaScript puzzles
Jorge wrote: You could have used toString(radix). > On Sep 24, 3:14 am, dhtml <dhtmlkitc...@gmail.com> wrote: >> 1. write a function return the binary representation of a given number >> in "ON" and "OFF". For example, if the input is 47 (101111 in binary), >> it should return "ON OFF ON ON ON ON". var n = 101111; n.toString(2).replace(/1/g, "ON "). Garrett > --
> Jorge. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||