Skip to main content
Commonmark migration
Source Link

#JavaScript (Most browsers), 42 40 bytes

JavaScript (Most browsers), 42 40 bytes

for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])

Only works in DevTools in browsers. As per New users' guides to golfing rules in specific languages this should be valid (Full browser JS program).

###If the one above is anyway considered a snippet, then 47 45 bytes:

If the one above is anyway considered a snippet, then 47 45 bytes:

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

#JavaScript (Most browsers), 42 40 bytes

for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])

Only works in DevTools in browsers. As per New users' guides to golfing rules in specific languages this should be valid (Full browser JS program).

###If the one above is anyway considered a snippet, then 47 45 bytes:

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

JavaScript (Most browsers), 42 40 bytes

for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])

Only works in DevTools in browsers. As per New users' guides to golfing rules in specific languages this should be valid (Full browser JS program).

If the one above is anyway considered a snippet, then 47 45 bytes:

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}
added 176 characters in body
Source Link
Shieru Asakoto
  • 6.3k
  • 16
  • 40

#JavaScript (Chrome DevToolsMost browsers), 4742 4540 bytes

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

Only works in DevTools in browsers. As per New users' guides to golfing rules in specific languages this should be valid (Full browser JS program).

###If the one belowabove is notanyway considered a snippet, then 4247 4045 bytes:

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

#JavaScript (Chrome DevTools), 47 45 bytes

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

Only works in DevTools in browsers.

###If the one below is not considered a snippet, then 42 40 bytes:

for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])

#JavaScript (Most browsers), 42 40 bytes

for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])

Only works in DevTools in browsers. As per New users' guides to golfing rules in specific languages this should be valid (Full browser JS program).

###If the one above is anyway considered a snippet, then 47 45 bytes:

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}
added 4 characters in body
Source Link
Shieru Asakoto
  • 6.3k
  • 16
  • 40

#JavaScript (Chrome DevTools), 4247 4045 bytes

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

Only works in DevTools in browsers.

###If the one abovebelow is not considered a snippet, then 4742 4540 bytes:

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

#JavaScript (Chrome DevTools), 42 40 bytes

for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])

Only works in DevTools in browsers.

###If the one above is considered a snippet, then 47 45 bytes:

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

#JavaScript (Chrome DevTools), 47 45 bytes

_=>{for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])}

Only works in DevTools in browsers.

###If the one below is not considered a snippet, then 42 40 bytes:

for(x=9;x;)--x-4&&alert([~(-x/3),x%3-1])
added 15 characters in body
Source Link
Shieru Asakoto
  • 6.3k
  • 16
  • 40
Loading
Source Link
Shieru Asakoto
  • 6.3k
  • 16
  • 40
Loading