Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript Strict Mode in Function

myVariable = 9;
console.log(myVariable); // 9

function hello() {

    // applicable only for this function
    'use strict';

    string = 'hello'; // throws an error
}

hello();
Comment

javascript Modules Always use Strict Mode

// in greet.js
function greet() {
    // strict by default
}

export greet();
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript closest child 
Javascript :: Check if a number is even or odd 
Javascript :: arange 
Javascript :: js access sql database on server 
Javascript :: express fingerprint 
Javascript :: showdown react 
Javascript :: how to tell this x = 12 + 30 when i read it in js 
Javascript :: public JsonResult what is the return 
Javascript :: flutter loops vs javascript loops 
Javascript :: convert arrow function to normal function javascript online 
Javascript :: use recoil oitside 
Python :: minecraft 
Python :: jupyter display all columns 
Python :: suppress pandas future warnings 
Python :: python wait 1 sec 
Python :: change django administration title 
Python :: python change recursion depth 
Python :: how to return PIL image from opencv 
Python :: python delete file 
Python :: pandas change column to a string 
Python :: clear outpur jupyter 
Python :: python: remove specific values in a dataframe 
Python :: python print exception message and stack trace 
Python :: current datetime pandas 
Python :: django admin create superuser 
Python :: super idol 
Python :: migrate skip in django 
Python :: python read xlsb pandas 
Python :: how to right click in pyautogui 
Python :: unzip file python 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =