Tag Archivio per: Keys

There are usually 12 different function keys ranging from F1 to F12 that you can find on a laptop, but their uses and functionality may vary depending on which company’s laptop you are using. These function keys provide the additional benefit of using them as a shortcut, which will also save you time. So, if you own a Toshiba laptop and are now looking for how you can enable the function keys, then you need to read this article.

How to Enable the Function Keys on a Toshiba Laptop

If somehow, for any reason, you cannot access the function keys, then we will show you a method you can use to enable them.

Step 1: Open the “Toshiba” app that you can find by clicking on all programs followed by the start button.

Step 2: This will open multiple options for you where you need to select the “Accessibility” option inside the Utilities.

Step 3: After going into the accessibility option, you will notice the tick box right next to the “Fn” settings. You need to click on that if it is unchecked, which will ensure that whenever you press any function key, it always works.

Step 4: The last step is to click on the “Ok” button that you will find at the bottom and then verify the function keys by pressing any of them, which should start working now.

How to Use the Function Keys on a Toshiba Laptop

Before jumping into the method, let me tell you some of the primary uses of these keys, such as controlling the volume, controlling the screen’s brightness, printing images and documents, or turning on or off the Wi-Fi.

Here you need to press the “Fn” key, which is usually located on the bottom next to the Windows key. After locating this key, you need to press and hold it, then press any function keys from F1 to F12 that are needed, and only then will your desired key work.

How to Enable the Function Keys Without Pressing Fn

There are two main ways to do that, and let’s start with the simple one: The first method is to press  “Fn+ESC”, which will toggle the output of pressing the function keys. For example, if you were pressing the “Fn + F2” key to reduce the brightness earlier, you can now do that by only pressing the F2 key.

The second method of enabling the function keys is by going into the bios and then enabling the option of “Action keys mode” that you can find in the system configuration as shown below.


There are 12 different function keys available on all the keyboards, but their functionalities may vary depending on which company laptop you are using. These keys give you an additional benefit as you can use them as a shortcut key to save your time. But sometimes, these keys are disabled, and we have discussed how to enable the function keys on the Toshiba laptop.

Source link

In JavaScript, an object comprises keys and values which are known as properties. To deal with the keys and values of an object, JavaScript provides various methods. These methods retrieve the enumerable properties in an array form. .

The Object.keys() method is employed to access the keys of an object in JavaScript. The ordering in the Object.keys() method is the same as the standard loop. This tutorial  will illustrate how to get Object keys in JavaScript using the Object.keys() method. The outcomes of this article are given as follows:

  • How does Object.keys() method works
  • How to use JavaScript Object.keys() method

How to get object keys in JavaScript

The Object keys can be attained  using the Object.keys() method. In JavaScript, the Object.keys() method returns an array containing all the object’s own enumerable property names. The working mechanism and functionality of the Object.keys() method are provided in the upcoming sections.

How does JavaScript Object.keys() method work
The Object.keys() method retrieves the countable property values of an object and returns the output in an array form.

The syntax of the JavaScript Object.keys() method is given as follows:

Here, ‘obj’ is a parameter whose keys are to be returned

JavaScript Object.keys() method returns the array of a string to represent the countable keys upon a specified object.

In JavaScript, there are two properties of Object keys that are mentioned in the following.

  • Enumerable: A countable property of an object that is set to be “True”.
  • Non-Enumerable: The uncountable property of an object that is set to be “False”.

How to use JavaScript Object.keys() method
The Object.keys() method accepts the arguments as an input and returns an array with unique keys. An object can be a number, a symbol, or a string. It could not be null or undefined. In this section, you will learn how to get the Object keys in JavaScript using the Object.keys() method with examples.

Example: How to get Object keys of enumerable properties in JavaScript
In Javascript, the Object.keys() method is used to get the Object keys of the array object. In this example, we will show you how to get the object keys of an object:

Student = {
    name: «ALI»,
    age: 26,
    marks: 85,
  // get all keys of Student
  std = Object.keys(Student);

In this code, an object “Student” contains three keys and three values. The Object.keys() method is applied on the “Student” object to retrieve the keys.

After applying the Object.keys() method, the keys of an object ‘student’ are displayed on the console.

Example: How to get Object keys of Non-enumerable properties in JavaScript
In JavaScript, the Object.keys() method returns only enumerable properties of the object. Let’s refer to the following code to get the keys of uncountable properties of an object.

keys = Object.create({}, {
    getName: {
        value: function () { return this.name; }
keys.name = ‘LinuxHint’;


This code narrates that an object is created in which the function has a null value. However, there must be a value to an object. Otherwise, it will not return the property key. The example shows that if the called function is empty, it will simply return the name only.

The returned output showed that when a null or undefined value is passed the function only returns the “[‘name’]”.


Object.keys() method is a built-in function of the JavaScript that is utilised  to access the Object keys. This method returns an array of strings. This article provides a deep knowledge of how to get object keys in JavaScript. For a better understanding, we have illustrated the working and usage of Object.entries() method with suitable examples.

Source link