Meaning of “Object” in Computer Languages
http://xahlee.info/comp/meaning_of_object_in_computer_languages.html
#java #lisp #python #JavaScript #c
Notices tagged with javascript, page 13
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 15-Feb-2018 15:09:35 EST ∑ XahLee
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 15-Feb-2018 04:54:59 EST ∑ XahLee
#JavaScript ES2015, learn how to Convert Object to/from Map.
http://xahlee.info/js/js_object_to_map_datatype.htmlmap object type is new. It replaces most use of object object.
And converting to/from object is the most important. There's no default function to do so. -
∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 14-Feb-2018 12:40:29 EST ∑ XahLee
#JavaScript in Depth, understand ES2015 Array.prototype.copyWithin
http://xahlee.info/js/js_Array.prototype.copyWithin.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Tuesday, 13-Feb-2018 22:39:57 EST ∑ XahLee
adaptive sampling in action
f_svg_plot(document.getElementById("plot1"),x=>[x,Math.sin(x*x)],[0,7,1.1],[-0.5,7.5],[-1.3,1.3],{"max_angle":f_degree_to_radian(5),"max_recursion_count":9});
http://xahlee.info/ee/test2018-02-07/parametric_plot.html
#JavaScript -
∑ XahLee (xahlee@noagendasocial.com)'s status on Tuesday, 13-Feb-2018 22:29:40 EST ∑ XahLee
took 3 hours, to debug.
if (vbx)
should be
if ( vbx !== null && vbx !== undefined )
fuck #JavaScript -
∑ XahLee (xahlee@noagendasocial.com)'s status on Tuesday, 13-Feb-2018 12:32:53 EST ∑ XahLee
#JavaScript In Depth, learn RegExp in 10 minutes, for beginner http://xahlee.info/js/js_regex_tutorial.html
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Tuesday, 13-Feb-2018 02:00:41 EST ∑ XahLee
i wonder if it is worthwhile, to create a new lang on top of #JavaScript, by writing a set of function wrappers that cover every (good) parts of js. And you code js using this wrapper layer.
you get minimal speed penalty, and is still pure js.
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Tuesday, 13-Feb-2018 01:52:33 EST ∑ XahLee
#JavaScript, understand Class like a Mathematician (updated)
http://xahlee.info/js/javascript_class.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Monday, 12-Feb-2018 16:53:32 EST ∑ XahLee
Web Design: say no to Grey Text on White Background
http://xahlee.info/js/web_design_gray_on_white.html
#JavaScript -
∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 11-Feb-2018 11:22:56 EST ∑ XahLee
#JavaScript understand the complexity of Array Constructor
• new Array(…) → same as Array(…)
• Array() → same as []
• Array(n) → if n is 0 or 1, 2 etc, same as y=[];y.length=n. Else, same as [x].
• Array(a1,a2,a3) → same as [a1,a2,a3] -
∑ XahLee (xahlee@noagendasocial.com)'s status on Saturday, 10-Feb-2018 11:39:01 EST ∑ XahLee
#JavaScript in Depth today: Replace All Children, createDocumentFragment
http://xahlee.info/js/js_dom_createDocumentFragment.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 09-Feb-2018 18:06:12 EST ∑ XahLee
in #JavaScript, does inserting element in middle of array more expensive that adding to front or end? how much more expensive?
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 09-Feb-2018 16:21:26 EST ∑ XahLee
get #JavaScript in Depth
http://xahlee.info/js/buy_xah_js_tutorial.html• In depth. Based on lang spec.
• Code example for every paragraph.
• Covers ES2015+.
• No framework/lib, no tricks, no idioms.
• Written in simple style. Anyone can understand.
• No ninja zen jargon injection. No joke. -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 09-Feb-2018 14:22:36 EST ∑ XahLee
find out your screen resolution size
http://xahlee.info/js/js_viewport_dimension.html
#javascript -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 09-Feb-2018 11:32:52 EST ∑ XahLee
#JavaScript today: Understand Prototype and Inheritance in Depth
http://xahlee.info/js/js_object_prototype_inheritance.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 08-Feb-2018 21:32:16 EST ∑ XahLee
#JavaScript learn how to write a SVG Clock in 30 minutes
http://xahlee.info/js/svg_clock.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 08-Feb-2018 17:36:48 EST ∑ XahLee
#JavaScript learn ECMAScript 2015 Features in 10 minutes
http://xahlee.info/js/js_ECMAScript_2015_features.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 08-Feb-2018 10:37:25 EST ∑ XahLee
#JavaScript question. With pure and vanilla ES2015, when writing a lib, does it still make sense to export just 1 name? that is, the whole lib looks like mylib = {/* [ lots functions here ] */}. Am guessing, with import/export, we no longer need single object structure?
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 08-Feb-2018 08:47:50 EST ∑ XahLee
#JavaScript understand ES2015 Class in Depth in 10 minutes
http://xahlee.info/js/javascript_class.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 07-Feb-2018 16:51:41 EST ∑ XahLee
#JavaScript
does anyone know why “defer” in
<script defer>console.log ( 3 );</script>
is ignored?
I want to know the reason given by whatwg or js standard body.