This variable is undefined . 对于一个未初始化的变量,其值为undefined :. The value of an uninitialized variable is undefined . In a function, in strict mode, this is undefined . In this case, the value of the variable is undefined .
Not defined are referred to as undefined . The value of a variable is said to be undefined . Since it is not, the variable remains as undefined . 如果在严格模式下把一个方法作为函数来调用,this为undefined 。 When used in a function, in strict mode, this is undefined . 如果当前方法是native方法,那么PC的值为undefined 。 If the method is native, the value of the JVM's PC register is undefined . 对象没有赋值的属性,该属性的值为undefined 。 (3) The object does not have an assigned property, and the value of this property is undefined . 如果一个线程执行的是native本地方法,它的程序计数器的值为undefined 。 If a thread is executing a native method, the value of the pc register is undefined . 如果索引超出Array的范围(负值或大于等于数组长度),则结果为Undefined 。 If the index is out of range(e.g. negative number or greater than the length of the string), undefined will be returned. ES2018从标记模板中删除了这些限制,它会将无效转义序列表示为undefined ,而不是抛出错误:. ES2018 removes these restrictions from tagged templates and instead of throwing an error, represents invalid escape sequences as undefined . 如果索引超出字符串的范围(负值或大于等于字符串长度),则结果为Undefined 。 If the index is out of range(e.g. negative number or greater than the length of the string), undefined will be returned. 如果值为undefined ,则返回”undefined”。 If the value is undefined,"undefined" is returned. 但是在javascript中,怎么检查一个值是否为undefined 呢? How do you check if a value is undefined in JavaScript?». 创建变量foo和bar,并将它们都赋值为undefined 。 The unknown variables foo and bar have certainly had values ascribed to them. 如果没有给出radix或者其为undefined ,则使用数字10作为默认值。 If radix not present or is undefined the Number 10 is used as the value of radix. 在radix为undefined ,或者radix为0或者没有指定的情况下,JavaScript作如下处理:. If radix is undefined or 0(or absent), JavaScript assumes the following. The operand can't be null or undefined . 如何判断一个变量是否为 null或undefined . How to tell if an object is null or undefined . Null/undefined 会被转化为数字:null被转化为 0,undefined被转化为NaN。 Null/undefined are converted to numbers: null becomes 0, while undefined becomes NaN. Value在这里可以访问,值为undefined . Value exists here with a value of undefined . Undefined type是其唯一值为undefined值的类型。Undefined is the only value in the undefined type.Its value is set to undefined .(line 3). The truth-value of A is undefined. 任何变量都可以通过设置值为undefined 来清空。 Any variable can be emptied, by setting the value to undefined . 原理上来说,可以为任何变量赋值为undefined :. Technically, it is possible to assign undefined to any variable.
展示更多例子
结果: 29 ,
时间: 0.019
English
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt