Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help With this?

Featured Replies

I'm a beginning Javascripter and was wondering why this is happening?

b2996c6263ee1dbc2d9ae46f65e90ba3.png

I'm clueless in JavaScript, so I'm guessing:

  1. "Amerifat" is not a String type, thus; you can't return its length. I say this because, in Java, you define a String by String, not var.
  2. length; is not the correct way of returning the String's length. I say this because, in Java; you get the String's length with length();

Edited by liverare

i dont do JavaScript, but from what i know i would guess

that #log() is a void or another type of method

just like println() in Java and that should be

...

console.log(myCountry.length);

console.log(myCountry.substring(0,3));

...

I think you have to make a new variable first for the length, and then log it. Something like:

var l = MyCountry.length;

Haven't done JavaScript in awhile so don't quote me on this.

Edited by Swizzbeat

  • 2 weeks later...

i dont do JavaScript, but from what i know i would guess

that #log() is a void or another type of method

just like println() in Java and that should be

...

console.log(myCountry.length);

console.log(myCountry.substring(0,3));

...

This one's correct, you've misplaced the ")"

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.